Searched refs:_tls (Results 1 – 4 of 4) sorted by relevance
21 _tls = threading.local() # tls used to detect forking/etc variable145 if not hasattr(_tls, 'pid') or _tls.pid != os.getpid():146 _tls.pid = os.getpid()148 if _tls.pid != _atexit_regsitered_for_pid:149 _atexit_regsitered_for_pid = _tls.pid151 _tls.pid = os.getpid()156 _tls.tid = tid160 "pid": _tls.pid,161 "tid": _tls.tid,
591 self._tls.credentials = credentials601 return getattr(self._tls, 'credentials', None)606 self._tls.flow = flow616 return getattr(self._tls, 'flow', None)673 self._tls = threading.local()
578 self.assertEqual(self.decorator.flow, self.decorator._tls.flow)580 self.decorator._tls.credentials)724 self.assertEqual(decorator.flow, decorator._tls.flow)
52 ; DARWIN-NEXT: .quad _tls