MCPcopy Index your code
hub / github.com/python/cpython / get

Method get

Lib/multiprocessing/queues.py:383–387  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

381 self._poll = self._reader.poll
382
383 def get(self):
384 with self._rlock:
385 res = self._reader.recv_bytes()
386 # unserialize the data after having released the lock
387 return _ForkingPickler.loads(res)
388
389 def put(self, obj):
390 # serialize the data before acquiring the lock

Callers 1

test_emptyMethod · 0.95

Calls 2

recv_bytesMethod · 0.45
loadsMethod · 0.45

Tested by 1

test_emptyMethod · 0.76