diff options
| author | pooka <pooka@NetBSD.org> | 2010-05-18 14:58:41 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2010-05-18 14:58:41 +0000 |
| commit | b1b7862792175510c57b5819b2bf7af042d4d8b1 (patch) | |
| tree | 821dc9920d0df685ab285d75fac425791271312d /sys/dev/dm/dm_target_error.c | |
| parent | 49d7cce48ebb633ae04407b550d52c0ba208778e (diff) | |
Make it possible to use the scheduler lock as the rumpuser condvar
interlock. This is applicable in cases where the actual interlock
is the CPU the currently running thread is scheduled on. Borrowing
the scheduler lock as the mutex mandated by pthread_cond_wait()
does away with need to have an additional mutex. This both optimizes
runtime execution and simplifies code, as the extra lock typically
lead to quite some trickeries to avoid the dungeon collapsing due
to zaps from the wand of deadlock.
Diffstat (limited to 'sys/dev/dm/dm_target_error.c')
0 files changed, 0 insertions, 0 deletions
