예제 #1
0
 def after():
     rthread.acquire_NOAUTO(state.ll_lock, True)
     rthread.gc_thread_run()
예제 #2
0
 def after():
     debug_print("waiting...")
     rthread.acquire_NOAUTO(state.ll_lock, True)
     debug_print("acquired")
예제 #3
0
 def before():
     ll_assert(not rthread.acquire_NOAUTO(state.ll_lock, False),
               "lock not held!")
     rthread.release_NOAUTO(state.ll_lock)
예제 #4
0
 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")
예제 #5
0
 def after():
     rthread.acquire_NOAUTO(state.ll_lock, True)
     rthread.gc_thread_run()
예제 #6
0
 def before():
     ll_assert(not rthread.acquire_NOAUTO(state.ll_lock, False),
               "lock not held!")
     rthread.release_NOAUTO(state.ll_lock)
예제 #7
0
 def after():
     debug_print("waiting...")
     rthread.acquire_NOAUTO(state.ll_lock, True)
     debug_print("acquired")
예제 #8
0
 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")