haiku/src/kernel/core
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
..
addons Fixed build conflict with new ISA bus manager. 2004-06-07 01:13:49 +00:00
arch The %fs register is used by user space TLS - it is CPU dependent, and must 2004-10-12 22:42:22 +00:00
cache Fixed another stupid bug in the file cache: when the first read was a partial 2004-10-04 21:03:31 +00:00
device_manager pnp_node_info is now a little bit more public and can now be found in kdevice_manager.h. 2004-09-04 17:35:15 +00:00
disk_device_manager Added needed header when tracing is enabled. 2004-06-15 15:40:21 +00:00
fs Implemented exec() support function vfs_exec_io_context() which closes all 2004-10-07 14:47:58 +00:00
util Fixed a stupid bug in list_move_to_list(): it did not work for empty lists. 2004-08-31 04:45:02 +00:00
vm _get_next_area_info() skipped every second area if they were adjacent. 2004-10-12 02:50:30 +00:00
cbuf.c Simplified an expression (which was even wrong before) 2004-03-02 16:29:04 +00:00
console.c Fixed typo that prevented compilation. 2004-07-02 02:57:29 +00:00
cpu.c Include kernel_args.h instead of stage2.h. 2003-10-07 23:12:37 +00:00
debug.c _kern_debug_output() no longer accidently accesses unsafe user memory. 2004-08-13 17:45:54 +00:00
elf.c Removed team::_aspace_id since it already has a direct pointer to it. 2004-10-07 17:17:04 +00:00
faults.c Include kernel_args.h instead of stage2.h. 2003-10-07 23:12:37 +00:00
gdb.c Removed superfluous htons()/htonl() functions (we already have the 2004-05-31 22:49:06 +00:00
heap.c Fixed a warning. 2003-10-17 14:01:16 +00:00
image.c When DEBUG is defined, it adds a debugger command to list all images from 2004-08-13 16:31:02 +00:00
int.c Include kernel_args.h instead of stage2.h. 2003-10-07 23:12:37 +00:00
Jamfile Added the "cache" subdirectory to the build. 2004-09-03 15:36:35 +00:00
kernel_daemon.c Fixed a stupid bug; malloc() was called with the wrong size - always use the "struct" 2004-06-24 23:48:44 +00:00
khash.c Completely removed the buggy, inflexible, and incomplete new_hash_table 2002-11-29 08:30:20 +00:00
linkhack.c It is accomplished ... 2002-07-09 12:24:59 +00:00
lock.c fixed warnings 2003-09-12 20:44:45 +00:00
main.c Now checks the kernel args structure size and version, and bails out if 2004-06-15 16:57:13 +00:00
misc.c It is accomplished ... 2002-07-09 12:24:59 +00:00
module.c Removed some unneeded debug output. 2004-08-16 15:51:08 +00:00
pools.c Replaced some more vm_create_anonymous_region() with create_area() and 2003-08-19 17:38:13 +00:00
port.c Several follow-up changes required by the changes either to the VFS 2004-08-28 20:51:47 +00:00
queue.c Replaced kmalloc(), kfree(), and kstrdup() with the POSIX equivalents. 2002-10-29 23:07:06 +00:00
real_time_clock.c Fixed a warning. 2004-03-28 23:52:11 +00:00
scheduler.c Minor cleanup. 2004-06-10 01:39:17 +00:00
sem.c Added two experimental release_sem_etc() flags (both should stay, but they 2004-10-13 15:55:30 +00:00
signal.c Changed some thread exit related fields. 2004-10-13 14:54:51 +00:00
smp.c Added a dummy implementation of call_all_cpus() that will at least work on 2004-03-30 13:05:24 +00:00
syscalls.c It is now understood where the _kern_restore_signal_frame() is used. 2004-09-30 23:25:55 +00:00
sysctl.c Several follow-up changes required by the changes either to the VFS 2004-08-28 20:51:47 +00:00
system_info.c Partially implemented get_system_info(), courtesy of Jack Burton. 2004-04-21 22:57:39 +00:00
team.c fork_team() is working now! It might not be 100% complete (signal handling), 2004-10-12 04:03:52 +00:00
thread.c Moved the thread::sem fields into their own sub-structure for clarity. 2004-10-13 15:19:08 +00:00
timer.c Applied ages old cleanup patch from Jack Burton. 2004-03-14 18:02:22 +00:00