Date: Thu, 11 Mar 2004 18:22:23 +0200 From: Petri Helenius <pete@he.iki.fi> To: Anders Torger <torger@ludd.luth.se> Cc: freebsd-threads@freebsd.org Subject: Re: Does PTHREAD_MUTEX_INITIALIZER work? Message-ID: <4050923F.5010307@he.iki.fi> In-Reply-To: <200403111616.15668.torger@ludd.luth.se> References: <200403111459.11287.torger@ludd.luth.se> <40507287.1040203@he.iki.fi> <200403111616.15668.torger@ludd.luth.se>
next in thread | previous in thread | raw e-mail | index | archive | help
Anders Torger wrote: > PTHREAD_MUTEX_INITIALIZER is defined as NULL in 5.2.1 too. I shall test > >the software on that platform later though. However, it would be nice >if someone could explain this NULL thing (it is not NULL on other >pthread implementations I have looked at). Perhaps there is a perfectly >natural explanation? > > > NULL is the only value you can safely set a pointer to which cannot be a valid value? Pete
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4050923F.5010307>