[pypy-svn] r47058 - pypy/dist/pypy/module/rctime

fijal at codespeak.net fijal at codespeak.net
Mon Oct 1 09:18:17 CEST 2007


Author: fijal
Date: Mon Oct  1 09:18:17 2007
New Revision: 47058

Modified:
   pypy/dist/pypy/module/rctime/interp_time.py
Log:
all externals defined here are not thread safe (sleep is defined somewhere
else)


Modified: pypy/dist/pypy/module/rctime/interp_time.py
==============================================================================
--- pypy/dist/pypy/module/rctime/interp_time.py	(original)
+++ pypy/dist/pypy/module/rctime/interp_time.py	Mon Oct  1 09:18:17 2007
@@ -48,7 +48,8 @@
 
 def external(name, args, result):
     return rffi.llexternal(name, args, result,
-                           includes=_includes, calling_conv=calling_conv)
+                           includes=_includes, calling_conv=calling_conv,
+                           threadsafe=False)
 
 if _POSIX:
     cConfig.timeval.__name__ = "_timeval"



More information about the Pypy-commit mailing list