hphp_gettid

Gets the kernel thread id of the current running thread

function hphp_gettid(): int;

Returns

  • int - - The tid of the current running thread. In Linux, this is gettid()