From e4be2c24c688f677f992314bd3cd444d27654665 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 30 Nov 2014 12:49:08 +0000 Subject: [PATCH] update lib/context.php --- lib/context.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/context.php b/lib/context.php index 39e0bb92..9372b3c7 100644 --- a/lib/context.php +++ b/lib/context.php @@ -20,7 +20,7 @@ function ctx_log_msg($func, $text, $type) { microtime(true), # returning a float is 5.0+ php_uname('n'), # gethostname() is 5.3+ posix_getpid(), - posix_getpid(), //gettid(), + function_exists("hphp_get_thread_id") ? hphp_get_thread_id() : posix_getpid(), $type, $func, $text ); }