freebsd-dev/lib/libpthread/arch/ia64/include
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
..
atomic_ops.h Implement atomic_swap_{int|long|ptr}. Define atomic_swap_ptr as a 2003-06-23 04:44:43 +00:00
ksd.h Untangle the inter-dependency of kse types and ksd types/functions 2003-06-23 23:15:06 +00:00
pthread_md.h Untangle the inter-dependency of kse types and ksd types/functions 2003-06-23 23:15:06 +00:00