man pthread_linux () - get the thread identifier of the Linux thread

NAME

pthread_linux - get the thread identifier of the Linux thread

SYNOPSIS

#include <rtl_sched.h> 
 
pthread_t pthread_linux(void); 

DESCRIPTION

This function is a non-portable Realtime Linux extension. pthread_linux gets the identity of the Linux thread.

RETURN VALUE

Up to and including V3.0 always returns the thread id of the Linux thread. In future versions, where Linux thread may not exist, this function may in some cases return 0.

ERRORS

None.

NOTES

pthread_linux can be called from a signal or interrupt handler, and in Linux kernel context.

AUTHOR

Victor Yodaiken (support@fsmlabs.com (link to URL mailto:support@fsmlabs.com) )

SEE ALSO

NONE

©2001 FSMLabs Inc.

All rights reserved.