Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fogleman/primitive
/ worker
Function
worker
scripts/process.py:36–41 ·
view source on GitHub ↗
(jobs, done)
Source
from the content-addressed store, hash-verified
34
return
result
35
36
def
worker(jobs, done):
37
while
True:
38
job = jobs.get()
39
log(job)
40
primitive(*job)
41
done.put(True)
42
43
def
process(in_folder, out_folder, nlist, alist, mlist, nworkers):
44
jobs = Queue()
Callers
nothing calls this directly
Calls
2
log
Function · 0.85
primitive
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…