MCPcopy Create free account
hub / github.com/microsoft/debugpy / lock_and_call

Function lock_and_call

src/debugpy/common/singleton.py:181–183  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

179 @functools.wraps(func)
180 @threadsafe_method
181 def lock_and_call(self, *args, **kwargs):
182 with self:
183 return func(self, *args, **kwargs)
184
185 return lock_and_call

Callers

nothing calls this directly

Calls 1

funcFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…