Date: Sat, 24 Apr 2004 02:38:42 -0700 (PDT) From: Mike Makonnen <mtm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libthr/thread thr_spinlock.c Message-ID: <200404240938.i3O9cgCB044808@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404240938.i3O9cgCB044808>