Lines Matching refs:tid
82 tid = self.owner
85 lock = _blocking_on.get(tid)
88 tid = lock.owner
89 if tid == me:
91 if tid in seen:
92 # bpo 38091: the chain of tid's we encounter here
98 seen.add(tid)
106 tid = _thread.get_ident()
107 _blocking_on[tid] = self
111 if self.count == 0 or self.owner == tid:
112 self.owner = tid
123 del _blocking_on[tid]
126 tid = _thread.get_ident()
128 if self.owner != tid: