diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-06-04 12:51:22 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-06-04 12:51:22 -0700 |
commit | dbd2cbca8e5ad361706b0ac013b62607bae4b5d3 (patch) | |
tree | 9377af7f72e0b05117162aa5a6846778f2c03c2f /common/os_calls.c | |
parent | 5cd7e29a9fa69c8b1b6c3a3ca8ebf8a9966a2492 (diff) | |
download | xrdp-proprietary-dbd2cbca8e5ad361706b0ac013b62607bae4b5d3.tar.gz xrdp-proprietary-dbd2cbca8e5ad361706b0ac013b62607bae4b5d3.zip |
syslog: cs/minor changes
Diffstat (limited to 'common/os_calls.c')
-rw-r--r-- | common/os_calls.c | 16 |
1 files changed, 0 insertions, 16 deletions
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 @@ -2219,22 +2219,6 @@ g_getpid(void) } /*****************************************************************************/ -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 g_sigterm(int pid) |