hphp_gettid

Description

function hphp_gettid(): int

Gets the kernel thread id of the current running thread.

Return Values

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