Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dabeaz/python-cookbook
/ get
Method
get
src/12/polling_multiple_thread_queues/pqueue.py:28–30 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
26
self._putsocket.send(b
'x'
)
27
28
def
get(self):
29
self._getsocket.recv(1)
30
return
super().get()
31
32
# Example code that performs polling:
33
Callers
9
wrapper
Function · 0.45
handle_starttag
Method · 0.45
example1.py
File · 0.45
recv
Method · 0.45
send
Method · 0.45
consumer
Function · 0.45
__call__
Method · 0.45
__call__
Method · 0.45
__new__
Method · 0.45
Calls
1
recv
Method · 0.45
Tested by
no test coverage detected