Changeset 08a19ba in mainline for kernel/test/mm/slab2.c


Ignore:
Timestamp:
2008-06-23T18:44:48Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1a1744e
Parents:
deaf8d5
Message:

Support for active mutexes. Active mutexes implement busy waiting, pretty much
in the same way as spinlocks, but can be passed to condition variables, which is
the motivation for this enhancement.

File:
1 edited

Legend:

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

    rdeaf8d5 r08a19ba  
    217217       
    218218        condvar_initialize(&thread_starter);
    219         mutex_initialize(&starter_mutex);
     219        mutex_initialize(&starter_mutex, MUTEX_PASSIVE);
    220220
    221221        thr_cache = slab_cache_create("thread_cache", size, 0, NULL, NULL, 0);
Note: See TracChangeset for help on using the changeset viewer.