freebsd-nq/lib/libkse
David Xu 566382df0a Add code to support thread debugging.
1. Add global varible _libkse_debug, debugger uses the varible to identify
   libpthread. when the varible is written to non-zero by debugger, libpthread
   will take some special action at context switch time, it will check
   TMDF_DOTRUNUSER flags, if a thread has the flags set by debugger, it won't
   be scheduled, when a thread leaves KSE critical region, thread checks
   the flag, if it was set, the thread relinquish CPU.

2. Add pq_first_debug to select a thread allowd to run by debugger.

3. Some names prefixed with _thr are renamed to _thread prefix.

which is allowed to run by debugger.
2004-07-13 22:49:58 +00:00
..
arch kse_switchin ABI was changed in kernel. 2004-07-12 07:41:01 +00:00
support The caller is expected to set up PIC register corectly before 2003-09-05 18:08:19 +00:00
sys Add the ability to reinitialize libpthread's internal FIFO-queueing 2003-11-04 20:01:38 +00:00
test libkse was renamed to libpthread. 2004-02-05 02:55:20 +00:00
thread Add code to support thread debugging. 2004-07-13 22:49:58 +00:00
Makefile Now that libpthread is the default threading library, remove the 2004-01-31 05:05:45 +00:00