RE: More PTHREAD_PROCESS_SHARED(Storing pointers into shared memory?)

"Howell, David P" <[email protected]>
Newsgroups gmane.linux.ngpt.devel
Message-ID <[email protected]>
Chris McFarlen writes:
>
>
> What is this PTHREAD_MUTEX_ROBUST_NP attribute?
>
Flags that shared mutexes will provide Solaris robust mutex behavior,
ie.
if a shared mutex is reused but is found to be locked in
pthread_mutex_init,
this checks if the owner still exists and puts the mutex in a consistent
state if not. Also, when locking the mutex check if the owner is dead
and 
if so allow it to be locked but return EOWNERDEAD status. 

Hope that this helps.

Dave Howell

_______________________________________________
pthreads-devel mailing list
[email protected]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/pthreads-deve
l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.