MCPcopy Create free account
hub / github.com/digego/extempore / createSchemeTask

Method createSchemeTask

src/SchemeProcess.cpp:445–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443
444
445 void SchemeProcess::createSchemeTask(void* arg, std::string label, int type)
446 {
447 if(guard.isOwnedByCurrentThread())
448 {
449 printf("Thread trying to relock creating scheme task. Potential deadlock. Dropping Task!");
450 return;
451 }
452 guard.lock();
453 taskq.push(SchemeTask(extemp::UNIV::TIME, max_duration, arg, label, type));
454 guard.signal();
455 guard.unlock();
456 }
457
458 bool SchemeProcess::loadFile(const std::string file, const std::string path)
459 {

Callers 3

~SchemeObjMethod · 0.80
send_scheme_callFunction · 0.80
send_scheme_process_callFunction · 0.80

Calls 5

SchemeTaskClass · 0.85
lockMethod · 0.45
signalMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected