cvs commit: src/lib/libthr/thread thr_spinlock.c
Mike Makonnen
mtm at FreeBSD.org
Sat Apr 24 02:38:42 PDT 2004
mtm 2004/04/24 02:38:42 PDT
FreeBSD src repository
Modified files:
lib/libthr/thread thr_spinlock.c
Log:
Unconditionaly initialize any spin lock passed to pthread_spin_init(). While
makeing sure the spinlock isn't already in use might be a nice feature to
have in theory, it's hard to implement in practice since the passed in
pointer may not be NULL, but still be an invalid value (i.e. 1..2..3.. etc).
Revision Changes Path
1.10 +0 -4 src/lib/libthr/thread/thr_spinlock.c
More information about the cvs-all
mailing list