diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-10-24 23:06:56 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-10-24 23:06:56 +0300 |
commit | 96e3c00794c56103677f83937276d9b36fafcbb6 (patch) | |
tree | 02a1ae77d5a41cab6f22b076745f37488891d97d /Python/thread_pth.h | |
parent | f374fd439129c8845636dbcd6b9db788ca30ddc5 (diff) | |
parent | 3afc106889340dadee60bd7407e11380d45c18e7 (diff) | |
download | cpython-96e3c00794c56103677f83937276d9b36fafcbb6.tar.gz |
#16210: merge with 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) |