freebsd-skq/lib/libkse
Marcel Moolenaar 82468d1f27 Untangle the inter-dependency of kse types and ksd types/functions
by moving the definition of struct ksd to pthread_md.h and removing
the inclusion of ksd.h from thr_private.h (which has the definition
of struct kse and kse_critical_t). This allows ksd.h to have inline
functions that use struct kse and kse_critical_t and generally
yields a cleaner implementation at the cost of not having all ksd
related types/definitions in one header.

Implement the ksd functionality on ia64 by using inline functions
and permanently remove ksd.c from the ia64 specific makefile.

This change does not clean up the i386 specific version of ksd.h.

NOTE: The ksd code on ia64 abuses the tp register in the same way
as it is abused in libthr in that it is incompatible with the
runtime specification. This will be address when support for TLS
hits the tree.
2003-06-23 23:15:06 +00:00
..
arch Untangle the inter-dependency of kse types and ksd types/functions 2003-06-23 23:15:06 +00:00
support Provide a reference to __sys_write. The implementation uses this when 2003-06-08 17:29:32 +00:00
sys Move the machine specific files from sys/Makefile.inc and put them 2003-06-23 04:28:31 +00:00
test For now, build and install this as libkse instead of libpthread. 2002-12-08 22:43:31 +00:00
thread Untangle the inter-dependency of kse types and ksd types/functions 2003-06-23 23:15:06 +00:00
Makefile Move the machine specific files from sys/Makefile.inc and put them 2003-06-23 04:28:31 +00:00