コード例 #1
0
ファイル: test_standalone.py プロジェクト: juokaz/pypy
 def before():
     ll_assert(not rthread.acquire_NOAUTO(state.ll_lock, False),
               "lock not held!")
     rthread.release_NOAUTO(state.ll_lock)
コード例 #2
0
ファイル: test_standalone.py プロジェクト: bukzor/pypy
 def before():
     ll_assert(not rthread.acquire_NOAUTO(state.ll_lock, False),
               "lock not held!")
     rthread.release_NOAUTO(state.ll_lock)
コード例 #3
0
ファイル: test_standalone.py プロジェクト: juokaz/pypy
 def before():
     debug_print("releasing...")
     ll_assert(not rthread.acquire_NOAUTO(state.ll_lock, False),
               "lock not held!")
     rthread.release_NOAUTO(state.ll_lock)
     debug_print("released")
コード例 #4
0
ファイル: test_standalone.py プロジェクト: bukzor/pypy
 def before():
     debug_print("releasing...")
     ll_assert(not rthread.acquire_NOAUTO(state.ll_lock, False),
               "lock not held!")
     rthread.release_NOAUTO(state.ll_lock)
     debug_print("released")