haiku/headers
Ingo Weinhold 0338371f26 * All scheduler implementations:
- enqueue_in_run_queue() no longer returns whether rescheduling is supposed
    to happen. Instead is sets cpu_ent::invoke_scheduler on the current CPU.
  - reschedule() does now handle cpu_ent::invoke_scheduler_if_idle(). No need
    to let all callers do that.
* thread_unblock[_locked]() no longer return whether rescheduling is supposed
  to happen.
* Got rid of the B_INVOKE_SCHEDULER handling. The interrupt hooks really
  can't know, when it makes sense to reschedule or not.
* Introduced scheduler_reschedule_if_necessary[_locked]() functions for
  checking+invoking the scheduler.
* Some semaphore functions (e.g. delete_sem()) invoke the scheduler now, if
  they wake up anything with greater priority.
  I've also tried to add scheduler invocations in the condition variable and
  mutex/rw_lock code, but that actually has a negative impact on performance,
  probably because it causes too much ping-ponging between threads when
  multiple locking primitives are involved.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-13 21:18:27 +00:00
..
build * Map O_NOTRAVERSE to rarely used or non portable O_ modes if possible. 2009-11-26 16:02:07 +00:00
compatibility - Coding style fixes. Thanks Axel for the heads up. 2009-11-17 16:13:00 +00:00
config Fixed __HAIKU_PRI_PREFIX_ADDR definition. 2009-12-06 15:46:03 +00:00
cpp * Introduced new header directory "config", which ATM contains HaikuConfig.h 2009-11-24 19:44:07 +00:00
glibc * merged 32bit-wchar_t branches of buildtools and haiku back into 2009-07-07 10:30:09 +00:00
libs * Simplified and optimized a lot the "ToString()" debugging facilities. 2009-12-06 13:14:45 +00:00
os Check if we have 64 or 32 bit. 2009-12-09 17:49:20 +00:00
posix added more missing prototypes in math.h 2009-12-13 16:35:25 +00:00
private * All scheduler implementations: 2009-12-13 21:18:27 +00:00
tools * Moved everything into the SymbolPatcher namespace. 2009-11-05 17:16:17 +00:00