summaryrefslogtreecommitdiffstats
path: root/Python/thread_sgi.h
diff options
context:
space:
mode:
Diffstat (limited to 'Python/thread_sgi.h')
-rw-r--r--Python/thread_sgi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/thread_sgi.h b/Python/thread_sgi.h
index 6f6334e..40f28a0 100644
--- a/Python/thread_sgi.h
+++ b/Python/thread_sgi.h
@@ -229,6 +229,11 @@ int start_new_thread _P2(func, void (*func) _P((void *)), arg, void *arg)
return success < 0 ? 0 : 1;
}
+long get_thread_ident _P0()
+{
+ return getpid();
+}
+
static void do_exit_thread _P1(no_cleanup, int no_cleanup)
{
dprintf(("exit_thread called\n"));