VMS Help
DCE_THREADS, Application Routines, pthread_self

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

  NAME

      pthread_self - Obtains the identifier of the current thread

  SYNOPSIS

      #include <pthread.h>

      pthread_t pthread_self();

  DESCRIPTION

  The pthread_self() routine allows a thread to obtain its own identifier.
  For example, this identifier allows a thread to set its own priority.

  This value becomes meaningless when the thread object is deleted; that
  is, when the thread terminates its execution and pthread_detach() is
  called.

  RETURN VALUES

  Returns the identifier of the calling thread to pthread_t.

  RELATED INFORMATION

      FUNCTIONS:  pthread_create
                  pthread_setprio
                  pthread_setscheduler
  Close     HLB-list     TLB-list     Help  

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