code: def __init__(self, lock=None, *, ctx):
      self._lock = lock or ctx.RLock()
      self._sleeping_count = ctx.Semaphore(0)
      self._woken_count = ctx.Semaphore(0)
      self._wait_semaphore = ctx.Semaphore(0)
      self._make_methods()
  
imports: import threading
  import sys
  import tempfile
  import time
  from .None import context
  from .None import process
  from .None import util
label_desc: Use image node_id 1 to create a new Condition object from inherited base classes: object with example: obj = Condition(lock)