Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pyload/pyload
/ put
Method
put
module/Scheduler.py:127–130 ·
view source on GitHub ↗
(self, element)
Source
from the content-addressed store, hash-verified
125
del self.queue[key]
126
127
def
put(self, element):
128
self.lock.acquire()
129
heappush(self.queue, element)
130
self.lock.release()
131
132
def
get(self):
133
""
" return element or None "
""
Callers
2
addJob
Method · 0.45
work
Method · 0.45
Calls
2
acquire
Method · 0.80
release
Method · 0.45
Tested by
no test coverage detected