John Birrell d60f0fa60d Change the FILE locking to be by FILE, not by the underlying fd as
it was. Add a FILE_WAIT state and queue threads waiting for a FILE
lock. Start using the sys/queue.h macros instead of the way that MIT
pthreads did it.

Add a thread name to the private thread structure and a non-POSIX
function to set this. This helps (me at least) when sending a SIGINFO
to a threaded process to get a /tmp/uthread.dump to see what the
<expletive deleted> threads are doing this time. It is nice to be
able to recognise (yes, I spell that with an 's' too) which threads
are which.
1998-04-11 07:47:22 +00:00
..
1997-04-03 06:08:28 +00:00
1998-04-11 07:40:47 +00:00
1997-02-22 15:12:41 +00:00
1998-03-22 07:41:23 +00:00
1997-04-13 01:16:58 +00:00
1997-02-22 15:12:41 +00:00
1997-04-13 01:16:58 +00:00
1997-02-22 15:12:41 +00:00
1998-03-23 13:23:22 +00:00
1998-03-23 13:29:49 +00:00
1997-09-25 23:24:35 +00:00
1997-02-22 15:12:41 +00:00
1998-02-28 10:41:01 +00:00