freebsd-nq/lib/libkse
David Xu 71679e629d Rename _thr_enter_cancellation_point to _thr_cancel_enter, rename
_thr_leave_cancellation_point to _thr_cancel_leave, add a parameter
to _thr_cancel_leave to indicate whether cancellation point should be
checked, this gives us an option to not check cancallation point if
a syscall successfully returns to avoid any leaks, current I have
creat(), open() and fcntl(F_DUPFD) to not check cancellation point
after they sucessfully returned.

Replace some members in structure kse with bit flags to same some
memory.

Conditionally compile THR_ASSERT to nothing if _PTHREAD_INVARIANTS is
not defined.

Inline some small functions in thr_cancel.c.

Use __predict_false in thr_kern.c for some executed only once code.

Reviewd by: deischen
2003-12-09 02:20:56 +00:00
..
arch Simplify the contexts created by the kernel and remove the related 2003-12-07 20:47:33 +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 This test relies on the concurrency level being 1; make it so. 2003-10-20 04:23:49 +00:00
thread Rename _thr_enter_cancellation_point to _thr_cancel_enter, rename 2003-12-09 02:20:56 +00:00
Makefile Relink libc_r.a, libc_r.so and libc_r_p.so from libthr to libkse. 2003-09-27 23:27:19 +00:00