Index Index for
Section 3
Index Alphabetical
listing for T
Bottom of page Bottom of
page

tis_unlock_global(3)

NAME

tis_unlock_global - Unlocks the DECthreads global mutex

SYNOPSIS

#include <tis.h> int tis_unlock_global( void );

LIBRARY

Standard C Library (libc.so, libc.a)

STANDARDS

None

PARAMETERS

None

DESCRIPTION

This routine unlocks the DECthreads global mutex. Because the global mutex is recursive, the unlock occurs when each call to tis_lock_global(3) has been matched by a call to this routine. For example, if your program called tis_lock_global(3) three times, tis_unlock_global(3) 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_unlock_global_np(3) 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: 0 Successful completion. [EPERM] The DECthreads global mutex is unlocked or locked by another thread.

ERRORS

None

SEE ALSO

Functions: tis_lock_global(3) Manuals: Guide to DECthreads and Programmer's Guide

Index Index for
Section 3
Index Alphabetical
listing for T
Top of page Top of
page