Mercurial > cpython-lru_cache-weakref
diff Python/thread_pth.h @ 68457:15b090c9442a
Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2
| author | Jesus Cea <jcea@jcea.es> |
|---|---|
| date | Mon, 14 Mar 2011 17:36:54 +0100 |
| parents | 3c9232a684ae |
| children |
line wrap: on
line diff
--- a/Python/thread_pth.h Mon Mar 14 12:15:42 2011 -0400 +++ b/Python/thread_pth.h Mon Mar 14 17:36:54 2011 +0100 @@ -69,9 +69,8 @@ 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)
