VMS Help
POSIX Threads, TIS routines, tis_unlock_global

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    Unlocks the Threads Library global mutex.

  1 - C Binding

    #include <tis.h>

    int
    tis_unlock_global (void);

  2 - Arguments

    None

  3 - Description

    This routine unlocks the global mutex. Because the global mutex
    is recursive, the unlock occurs when each call to tis_lock_
    global() has been matched by a call to this routine. For example,
    if your program 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_unlock_global_np() description.

  4 - 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.

  5 - Associated Routines

       tis_lock_global()
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.