MCPcopy
hub / github.com/django/django / inc_thread_sharing

Method inc_thread_sharing

django/db/backends/base/base.py:625–627  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

623 return self._thread_sharing_count > 0
624
625 def inc_thread_sharing(self):
626 with self._thread_sharing_lock:
627 self._thread_sharing_count += 1
628
629 def dec_thread_sharing(self):
630 with self._thread_sharing_lock:

Callers 7

_start_server_threadMethod · 0.80
thread_funcMethod · 0.80
runnerMethod · 0.80
runner1Method · 0.80

Calls

no outgoing calls

Tested by 7

_start_server_threadMethod · 0.64
thread_funcMethod · 0.64
runnerMethod · 0.64
runner1Method · 0.64