Logo Search packages:      
Sourcecode: csound version File versions  Download package

PUBLIC void* csoundGetCurrentThreadId ( void   ) 

Returns the ID of the currently executing thread, or NULL for failure.

NOTE: The return value can be used as a pointer to a thread object, but it should not be compared as a pointer. The pointed to values should be compared, and the user must free the pointer after use.

Definition at line 558 of file threads.c.

References csoundGetCurrentThreadId().

Referenced by csoundGetCurrentThreadId().

    return NULL;

Generated by  Doxygen 1.6.0   Back to index