Unlocks the global mutex.
Syntax
tis_unlock_global();
C Binding
#include
int
tis_unlock_global (void);
Arguments
-
- None
Description
This routine unlocks the global mutex. Since the global mutex
is recursive, the unlock will occur when each call to tis_lock_
global has been matched by a call to this routine. 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 when threads are present, refer
to the pthread_unlock_global_np description.
Return Values
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.
[EPERM] The global mutex is unlocked or locked by another
thread.
Associated Routines
tis_lock_global