--- parser3/src/main/pa_threads.C 2020/12/15 17:10:37 1.7 +++ parser3/src/main/pa_threads.C 2020/12/16 11:04:00 1.8 @@ -7,7 +7,7 @@ #include "pa_threads.h" -volatile const char * IDENT_PA_THREADS_C="$Id: pa_threads.C,v 1.7 2020/12/15 17:10:37 moko Exp $" IDENT_PA_THREADS_H; +volatile const char * IDENT_PA_THREADS_C="$Id: pa_threads.C,v 1.8 2020/12/16 11:04:00 moko Exp $" IDENT_PA_THREADS_H; Mutex global_mutex; @@ -44,7 +44,7 @@ uint pa_get_thread_id() { #ifdef HAVE_GETTID return syscall(__NR_gettid); #else - return 1; + return getpid(); #endif }