summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/thread_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index 8758430..64100f4 100644
--- a/Python/thread_pthread.h
+++ b/Python/thread_pthread.h
@@ -167,7 +167,7 @@ int start_new_thread _P2(func, void (*func) _P((void *)), arg, void *arg)
long get_thread_ident _P0()
{
- pthread_t threadid;
+ volatile pthread_t threadid;
if (!initialized)
init_thread();
/* Jump through some hoops for Alpha OSF/1 */