Displaying 1 result from an estimated 1 matches for "preemptied".
Did you mean:
preempted
2012 Jun 28
0
[LLVMdev] One problem to discuss
...();
}
Similarly, there are SetInterruptFunction, RemoveFileOnSignal, DontRemoveFileOnSignal
I am afraid there is deadlock risk if llvm running in multithread mode, the case it is designed to safeguard.
Suppose, say when some thread runs into RunInterruptHandlers and acquire the Mutex, then it is preemptied by scheduler, and before it is reselected by scheduler, one signal is dispatched to it. Then just before the thread resuming at the end of schdeuling, the kernel will invoke SignalHandler to handle the signal, but may deadlock at mutex acquire (as kernel now is conditionally preemptied).
Maybe we...