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.
NOTES
pthread_linux can be called from a signal or interrupt handler, and in Linux kernel context.
.
SEE ALSO
NONE
©2001 FSMLabs Inc.
All rights reserved.