[770] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

pthread_mutexattr_setpshared

daemon@ATHENA.MIT.EDU (Marty Leisner)
Sun May 24 13:02:06 1998

To: pthreads@MIT.EDU
Date: Sat, 23 May 1998 21:35:02 PDT
From: "Marty Leisner" <leisner@sdsp.mc.xerox.com>



I came across some pthread
code which calls:
        pthread_mutexattr_setpshared(&mattr, PTHREAD_PROCESS_SHARED);

MIT pthreads and lynxOS pthreads doesn't have this.

Its on solaris 2.5.1:
  Set/Get Scope
     pthread_mutexattr_setpshared()                           and
     pthread_mutexattr_getpshared()   sets   the   process-shared
     attribute in an initialized attributes object pointed to  by
     attr,  and  gets  the  value of the process-shared attribute
     from the attributes object pointed to by attr, respectively.

     At present, only the attribute process-shared is defined.



marty		leisner@sdsp.mc.xerox.com   
Don't  confuse education with schooling.
	Milton Friedman to Yogi Berra

home help back first fref pref prev next nref lref last post