diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-02-20 18:36:12 +0000 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-02-20 18:36:12 +0000 |
commit | 002beaa7dc803918c155c1db948074d3649d935c (patch) | |
tree | ae817c40da01298b4c1459cf91ebc4ccd4372466 /Python/thread_pth.h | |
parent | 9edd5e108cf2736595d6bb117e1a2a45b4403e85 (diff) | |
parent | fa4528a69d3e6cfa5d20afdb9dd629a394c9c3ef (diff) | |
download | cpython-002beaa7dc803918c155c1db948074d3649d935c.tar.gz |
Merged documentation update from 3.2.
Diffstat (limited to 'Python/thread_pth.h')
-rw-r--r-- | Python/thread_pth.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/thread_pth.h b/Python/thread_pth.h index 82a00e72ba..5704266a03 100644 --- a/Python/thread_pth.h +++ b/Python/thread_pth.h @@ -69,9 +69,8 @@ long PyThread_get_thread_ident(void) volatile pth_t threadid; if (!initialized) PyThread_init_thread(); - /* Jump through some hoops for Alpha OSF/1 */ threadid = pth_self(); - return (long) *(long *) &threadid; + return (long) threadid; } void PyThread_exit_thread(void) |