Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dabeaz/python-cookbook
/ put
Method
put
src/12/polling_multiple_thread_queues/pqueue.py:24–26 ·
view source on GitHub ↗
(self, item)
Source
from the content-addressed store, hash-verified
22
return
self._getsocket.fileno()
23
24
def
put(self, item):
25
super().put(item)
26
self._putsocket.send(b
'x'
)
27
28
def
get(self):
29
self._getsocket.recv(1)
Callers
3
wrapper
Function · 0.45
send
Method · 0.45
pqueue.py
File · 0.45
Calls
1
send
Method · 0.45
Tested by
no test coverage detected