Does PTHREAD_MUTEX_INITIALIZER work?
Petri Helenius
pete at he.iki.fi
Thu Mar 11 08:22:29 PST 2004
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
More information about the freebsd-threads
mailing list