VMS Help
POSIX Threads, TIS routines, tis_lock_global
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Locks the Threads Library global mutex.
#include <tis.h>
int
tis_lock_global (void);
None
This routine locks the global mutex. The global mutex is
recursive. For example, if you called tis_lock_global() three
times, tis_unlock_global() unlocks the global mutex when you call
it the third time.
For more information about actions taken when threads are
present, refer to the pthread_lock_global_np() description.
If an error condition occurs, this routine returns an integer
value indicating the type of error. Possible return values are as
follows:
Return Description
0 Successful completion.
tis_unlock_global()
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.