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

Method getJob

gfanlib/gfanlib_paralleltraverser.cpp:351–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349
350
351 Job* getJob( void )
352 {
353 unique_lock<mutex> lock(mtx);
354
355 while (!is_set) {
356 cond.wait(lock);
357 }
358
359 lock.unlock();
360
361 return job;
362 }
363};
364
365

Callers

nothing calls this directly

Calls 2

waitMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected