From dbd2cbca8e5ad361706b0ac013b62607bae4b5d3 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Mon, 4 Jun 2012 12:51:22 -0700 Subject: syslog: cs/minor changes --- common/os_calls.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'common/os_calls.c') diff --git a/common/os_calls.c b/common/os_calls.c index 453c0466..29492293 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -2218,22 +2218,6 @@ g_getpid(void) #endif } -/*****************************************************************************/ -int APP_CC -g_gettid(void) -{ -#if defined(_WIN32) - return (int)GetCurrentThreadId(); -#else -#if defined(__linux__) - /* This is Linux specific way of getting the thread id. - * Function is not part of GLIB so therefore this syscall*/ - return (int)syscall(__NR_gettid); -#else - return (int)pthread_self(); -#endif -#endif -} /*****************************************************************************/ /* does not work in win32 */ int APP_CC -- cgit v1.2.1