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

Function ThreadError

Singular/dyn_modules/systhreads/thread.cc:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16pthread_t no_thread;
17
18void ThreadError(const char *message) {
19 fprintf(stderr, "FATAL ERROR: %s\n", message);
20 abort(); // should not happen
21}
22
23void Semaphore::wait() {
24 lock.lock();

Callers 5

lockMethod · 0.85
unlockMethod · 0.85
waitMethod · 0.85
signalMethod · 0.85
broadcastMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected