TSEventThreadSelf

Synopsis

#include <ts/ts.h>
TSEventThread TSEventThreadSelf(void)

Description

Return a value that refers to the current event thread. This must be called from a thread with an event loop. This will be true from any callback invoked from a hook or a scheduled event.