MCPcopy Create free account
hub / github.com/Singular/Singular / queueJob

Method queueJob

Singular/dyn_modules/systhreads/shared.cc:1765–1770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1763 lock.unlock();
1764 }
1765 void queueJob(Job *job) {
1766 lock.lock();
1767 global_queue.push(job);
1768 cond.signal();
1769 lock.unlock();
1770 }
1771 void broadcastJob(ThreadPool *pool, Job *job) {
1772 lock.lock();
1773 for (unsigned i = 0; i <thread_queues.size(); i++) {

Callers

nothing calls this directly

Calls 4

signalMethod · 0.80
lockMethod · 0.45
pushMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected