Threading-related functions
Gets the ID of the current thread
XS_EXPORT uint64_t XSGetCurrentThreadID(
void );
The ID of the current thread
Gets the value associated with a TLS key
void * XSTLSGetValue(
XSTLSKey *key );
The associated value
Creates a TLS key
bool XSTLSKeyCreate(
XSTLSKey *key );
True if the key was successfully created, otherwise false
Deletes a TLS key
void XSTLSKeyDelete(
XSTLSKey *key );
Sets the value associated with a TLS key
void XSTLSSetValue(
XSTLSKey *key,
void *value,
XSObjectAssociation association );