haiku/src
Michael Lotz 7f5698963f Add concurency handling when entering the kernel debugger. Previously there
was a race condition when more than one CPU would enter the debugger at the
same time (or rather before one CPU could stop all the others). We now use the
inDebugger variable to tell if someone is already in the debugger and then
only process inter CPU messages and retry entering the debugger.
Since sending the synchronous broadcast most of the time hung over here with
SMP enabled I removed the synchronous flag and added a simple spin to give the
other CPUs a chance to process the halt request. Added comments that explain
the reasons and a ToDo to revert to synchronous delivery once we fixed the
problem. The kernel debugger is now usable on my quad core.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-26 19:12:22 +00:00
..
add-ons We are not supposed to overwrite the full capability register when setting our 2008-01-26 11:17:15 +00:00
apps Typo again, no need to keep them as the format is different from R5 anyway. 2008-01-25 00:24:03 +00:00
bin fixed warnings 2008-01-18 18:02:54 +00:00
build * Removed the BUILDING_FS_SHELL guarded code. It was needed for the old 2007-11-30 14:23:46 +00:00
data update to tzdata2007g 2007-09-23 18:17:31 +00:00
documentation removed former haiku_book and headersampler tool 2007-10-04 22:15:58 +00:00
kits Added more conditional debug output, taken from the dw_info test app. 2008-01-25 11:54:35 +00:00
libs * make sure that the ApproximationScale() implementation of any Transformer 2007-12-09 15:36:28 +00:00
preferences - small fix, the value was checked before being updated 2008-01-23 15:17:26 +00:00
servers remove unnecessary code. 2008-01-24 13:45:59 +00:00
system Add concurency handling when entering the kernel debugger. Previously there 2008-01-26 19:12:22 +00:00
tests Added option for crashing via assert(). 2008-01-21 00:13:28 +00:00
tools Renamed syscall_parameters_info structure to extended_syscall_info (and 2008-01-21 15:29:00 +00:00
Jamfile libshared.a doesn't deserve a src/ subdirectory. Moved to 2007-06-15 18:32:50 +00:00