[pypy-svn] r45977 - pypy/branch/pypy-more-rtti-inprogress/module/thread

arigo at codespeak.net arigo at codespeak.net
Sat Aug 25 12:52:36 CEST 2007


Author: arigo
Date: Sat Aug 25 12:52:36 2007
New Revision: 45977

Modified:
   pypy/branch/pypy-more-rtti-inprogress/module/thread/ll_thread.py
Log:
Fix typo.


Modified: pypy/branch/pypy-more-rtti-inprogress/module/thread/ll_thread.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/module/thread/ll_thread.py	(original)
+++ pypy/branch/pypy-more-rtti-inprogress/module/thread/ll_thread.py	Sat Aug 25 12:52:36 2007
@@ -40,8 +40,8 @@
 TLOCKP = rffi.COpaquePtr('struct RPyOpaque_ThreadLock', includes=includes)
 
 c_thread_lock_init = llexternal('RPyThreadLockInit', [TLOCKP], lltype.Void)
-c_thread_acuirelock = llexternal('RPyThreadAcquireLock', [TLOCKP, rffi.INT],
-                                 rffi.INT)
+c_thread_acquirelock = llexternal('RPyThreadAcquireLock', [TLOCKP, rffi.INT],
+                                  rffi.INT)
 c_thread_releaselock = llexternal('RPyThreadReleaseLock', [TLOCKP], lltype.Void)
 
 def allocate_lock():
@@ -110,7 +110,7 @@
         self._lock = ll_lock
 
     def acquire(self, flag):
-        return bool(c_thread_acuirelock(self._lock, int(flag)))
+        return bool(c_thread_acquirelock(self._lock, int(flag)))
 
     def release(self):
         try:



More information about the Pypy-commit mailing list