Exemple #1
0
 def __enter__(self):
     _async.debug("write lock 2")
     _async.write_lock(o)
Exemple #2
0
 def __enter__(self):
     if o:
         _async.debug("write lock 1")
         _async.write_lock(o)
     _async.acquire_gil()