[pypy-svn] r74255 - pypy/trunk/pypy/module/thread

benjamin at codespeak.net benjamin at codespeak.net
Fri Apr 30 00:46:45 CEST 2010


Author: benjamin
Date: Fri Apr 30 00:46:43 2010
New Revision: 74255

Modified:
   pypy/trunk/pypy/module/thread/ll_thread.py
Log:
ident is actually a long

Modified: pypy/trunk/pypy/module/thread/ll_thread.py
==============================================================================
--- pypy/trunk/pypy/module/thread/ll_thread.py	(original)
+++ pypy/trunk/pypy/module/thread/ll_thread.py	Fri Apr 30 00:46:43 2010
@@ -43,7 +43,7 @@
                             threadsafe=True)  # release the GIL, but most
                                               # importantly, reacquire it
                                               # around the callback
-c_thread_get_ident = llexternal('RPyThreadGetIdent', [], rffi.INT,
+c_thread_get_ident = llexternal('RPyThreadGetIdent', [], rffi.LONG,
                                 _nowrapper=True)    # always call directly
 
 TLOCKP = rffi.COpaquePtr('struct RPyOpaque_ThreadLock',



More information about the Pypy-commit mailing list