haiku/src/kernel
Axel Dörfler 48e64cd7c8 Added two experimental release_sem_etc() flags (both should stay, but they
may be renamed):
- B_RELEASE_ALL: the semaphore count is set to 0, all waiting threads are released
  (the "count" argument of release_etc_sem() is ignored then)
- B_RELEASE_IF_WAITING_ONLY: the semaphore count is only decreased if there
  are any waiting threads; ie. the semaphore is signaled
Together, they will make the pthread_cond_*() functions easy to implement, and
they come in handy at other places, too.
Removed release_threads variable in release_sem_etc(), as it was useless.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-13 15:55:30 +00:00
..
apps Small test app for the execl() function. 2004-10-07 15:39:37 +00:00
boot Refactored the intel partitioning module. 2004-10-02 15:35:25 +00:00
core Added two experimental release_sem_etc() flags (both should stay, but they 2004-10-13 15:55:30 +00:00
drivers Calmed down the soon to be removed driver loader (to be replaced by a better 2004-09-28 03:42:07 +00:00
glue Now initializes some global variable defined in libroot_init.c. 2004-07-05 18:50:20 +00:00
ldscripts Added boot_loader.ld file (same as stage2.ld for ppc). 2004-04-22 00:53:55 +00:00
libroot Added thread-safe pthread_atfork() support. 2004-10-12 16:44:40 +00:00
vm2/tests Removing old VM2, starting to integrate new VM. 2003-07-30 11:48:09 +00:00
Jamfile Add setenv() & co to librld.a as our runtime linker will need them... 2004-10-13 09:49:14 +00:00
TODO It is accomplished ... 2002-07-09 12:24:59 +00:00