107 if (__builtin_expect ((!pid), 0))
118 extern __thread pid_t threadID
__attribute__ ((tls_model (
"initial-exec")));
131 if (__builtin_expect ((!tid), 0))
static int sphFastGetPID(void)
Return the process identification.
Definition: sphthread.h:104
__C__ pid_t sphdeGetTID(void)
Return the thread identification.
__C__ pid_t sphdeGetPID(void)
Return the process identification.
static int sphFastGetTID(void)
Return the thread identification.
Definition: sphthread.h:128
#define __C__
ignore this macro behind the curtain
Definition: sasmsync.h:32
__C__ char * sphdeGetCmdLine(void)
Return the command line string.
__thread pid_t threadID __attribute__((tls_model("initial-exec")))