Index of Section 2 Manual Pages

Interix / SUApthread_self.2Interix / SUA

pthread_self(2)                                         pthread_self(2)

  pthread_self()

  NAME

    pthread_self() - get the ID of calling thread

  SYNOPSIS

    #include 

    pthread_t pthread_self(void);

  DESCRIPTION

    The pthread_self(2) function returns the ID of the calling thread.

  RETURN VALUES

    This function returns the ID of the calling thread. No error codes are
    returned.

  ERRORS

    None.

  SEE ALSO

    pthread_create(2)

    pthread_equal(2)

  USAGE NOTES

    The pthread_self function is thread safe.

    The pthread_self function is not async-signal safe.


Interix / SUAHosted at SUA Community for Interix, SUA and SFUInterix / SUA