
4 Nov
2004
4 Nov
'04
2:31 p.m.
Michael van der Westhuizen wrote:
Vukasin Toroman wrote: [snip]
to my knowledge, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP exists on FreeBSD, OSX and Linux, so one could say that this is a fairly standard part of posix...
I'm afraid not, hence the _NP suffix (not portable). This means that it's supposed to obvious that it's *not* a part of Posix.
Michael
I agree, but _NP only means that it cannot be used on ALL implementations of the Posix standard, but it is a fact that there are quite a few that do support this extension and that it should not be ignored so lightly... Vukasin