示例#1
0
 def __init__(self):
     self._global = []
     self._thread_context_lock = ThreadLock()
     self._thread_context = thread_local()
     self._greenlet_context_lock = GreenletRLock()
     self._greenlet_context = greenlet_local()
     self._cache = {}
     self._stackop = get_iterator_next_method(count())
示例#2
0
 def __init__(self):
     self._global = []
     self._thread_context_lock = ThreadLock()
     self._thread_context = thread_local()
     self._greenlet_context_lock = GreenletRLock()
     self._greenlet_context = greenlet_local()
     self._cache = {}
     self._stackop = get_iterator_next_method(count())
示例#3
0
 def __init__(self):
     self._global = []
     self._context_lock = threading.Lock()
     self._context = threading.local()
     self._cache = {}
     self._stackop = get_iterator_next_method(count())