POSIX Threads for Windows – REFERENCE - pthreads-win32

Reference Index

Table of Contents

Name

pthread_getunique_np – get the unique sequence number associated with a thread

Synopsis

#include <pthread.h>

unsigned long long pthread_getunique_np(pthread_t thread);

Description

Returns the unique 64 bit sequence number assigned to thread.

In pthreads-win32:

This function was added for source code compatibility with some other POSIX threads implementations.

Cancellation

None.

Return Value

pthread_getunique_np returns the unique sequence number for thread.

Errors

None.

Author

Ross Johnson for use with pthreads-win32.


Table of Contents