causes infinite recursion while trying to initialize the internal library
state. Instead, use a simple spinlock-based rwlock implementation.
Make minor cancellation cleanups.
Submitted by: "Richard Seaman, Jr." <dick@tar.com>
Native FreeBSD port of the linuxthreads library
Includes added files and stuff you need to add to the rest of your system.
This is for -current I'm sure Richard's older version might be
a good place to start for a 3.x version.