Returns the thread of the current process.
#include <library.h> void *getnativethread ( void );
If successful, returns a pointer to the thread ID of the current process. Otherwise, returns NULL.