diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2007-12-06 10:33:54 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2007-12-06 10:33:54 +0000 |
commit | a981a04d84a35b7fadbe02c1398108e2db6d85c7 (patch) | |
tree | 3feaced0bdc1d899687787f3252a6f01166ab93e /src/lwp.c | |
parent | 49c0d04c7aaeb5b63e424dc4360a125f227beedd (diff) |
Pre-allocate the LWP buffer.
Diffstat (limited to 'src/lwp.c')
-rw-r--r-- | src/lwp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -930,6 +930,8 @@ __lwp_init (void) if (_lwp_initialized++) return; + _lwp_perm_alloc (0); /* grab our buffer first */ + _lwp_record_event (LWP_INIT, &event); _lwp_events_initialized = TRUE; |