Changes in kernel/test/mm/slab2.c [597fa24:0f4f1b2] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/slab2.c

    r597fa24 r0f4f1b2  
    127127
    128128static slab_cache_t *thr_cache;
    129 static CONDVAR_INITIALIZE(thread_starter);
    130 static MUTEX_INITIALIZE(starter_mutex, MUTEX_PASSIVE);
     129static condvar_t thread_starter;
     130static mutex_t starter_mutex;
    131131
    132132#define THREADS  8
     
    197197
    198198        TPRINTF("Running stress test with size %d\n", size);
     199
     200        condvar_initialize(&thread_starter);
     201        mutex_initialize(&starter_mutex, MUTEX_PASSIVE);
    199202
    200203        thr_cache = slab_cache_create("thread_cache", size, 0, NULL, NULL, 0);
Note: See TracChangeset for help on using the changeset viewer.