Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tis_unlock_global(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tis_lock_global(3)

tis_unlock_global(3)  —  Subroutines

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:

0Successful 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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026