--- - branch: MAIN date: Tue May 18 14:58:42 UTC 2010 files: - new: '1.3' old: '1.2' path: src/lib/librumpuser/rumpuser_int.h pathrev: src/lib/librumpuser/rumpuser_int.h@1.3 type: modified - new: '1.2' old: '1.1' path: src/lib/librumpuser/rumpuser_pth.c pathrev: src/lib/librumpuser/rumpuser_pth.c@1.2 type: modified - new: '1.41' old: '1.40' path: src/sys/rump/include/rump/rumpuser.h pathrev: src/sys/rump/include/rump/rumpuser.h@1.41 type: modified - new: '1.28' old: '1.27' path: src/sys/rump/librump/rumpkern/intr.c pathrev: src/sys/rump/librump/rumpkern/intr.c@1.28 type: modified - new: '1.40' old: '1.39' path: src/sys/rump/librump/rumpkern/locks.c pathrev: src/sys/rump/librump/rumpkern/locks.c@1.40 type: modified - new: '1.45' old: '1.44' path: src/sys/rump/librump/rumpkern/rump_private.h pathrev: src/sys/rump/librump/rumpkern/rump_private.h@1.45 type: modified - new: '1.14' old: '1.13' path: src/sys/rump/librump/rumpkern/scheduler.c pathrev: src/sys/rump/librump/rumpkern/scheduler.c@1.14 type: modified id: 20100518T145842Z.e3a3be6872dc2489ec0844cff2192ffd3d876f0b log: | 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. module: src subject: 'CVS commit: src' unixtime: '1274194722' user: pooka