| 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 | { |
no test coverage detected