Semaphore acquisition is not interrupted by a signal in the kernel
|Reported by:||jackburton||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
I'm not sure if my code is incorrect, but I suppose this should work. If a thread is acquiring a semaphore with infinite timeout, and another thread sends a signal to it, shouldn't the semaphore acquisition be interrupted ? If it should, then it's not working correctly. Attached is some code which shows the situation I'm talking about.