MCPcopy Create free account
hub / github.com/HexHive/NASS / Pop

Method Pop

fuzz/libfuzzer/FuzzerFork.cpp:292–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 Cv.notify_one();
291 }
292 FuzzJob *Pop() {
293 std::unique_lock<std::mutex> Lk(Mu);
294 // std::lock_guard<std::mutex> Lock(Mu);
295 Cv.wait(Lk, [&]{return !Qu.empty();});
296 assert(!Qu.empty());
297 auto Job = Qu.front();
298 Qu.pop();
299 return Job;
300 }
301};
302
303void WorkerThread(JobQueue *FuzzQ, JobQueue *MergeQ) {

Callers 2

WorkerThreadFunction · 0.80
FuzzWithForkFunction · 0.80

Calls 3

waitMethod · 0.45
emptyMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected