Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pthread_self(3-thr) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pthread_self(3-thr)                                     pthread_self(3-thr)

NAME
     pthreadself - obtains the identifier of the current thread

SYNOPSIS
     #include <pthread.h>

     pthreadt pthreadself();

DESCRIPTION
     The pthreadself() routine allows a thread to obtain its own identif-
     ier. 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 pthreaddetach() is
     called.

RETURN VALUES
     Returns the identifier of the calling thread to pthreadt.

SEE ALSO
     pthreadcreate(3-thr), pthreadsetprio(3-thr),
     pthreadsetscheduler(3-thr).
































Page 1                       Reliant UNIX 5.44                Printed 11/98

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