alex a9c05a1ce9 Fixed a race condition during the first lock/trylock of a statically
initialized mutex.  Statically initialized mutexes are actually
initialized at first use (pthread_mutex_lock/pthread_mutex_trylock).
To prevent concurrent initialization by multiple threads, all
static initializations are now serialized by a spinlock.

Reviewed by:	jb
1998-08-02 17:04:25 +00:00
..
1997-02-05 23:26:09 +00:00
1997-02-05 23:26:09 +00:00
1997-02-05 23:26:09 +00:00
1996-01-22 00:23:58 +00:00
1996-01-22 00:23:58 +00:00
1996-01-22 00:23:58 +00:00