analog WaitForSingleObject for Unix or any interuptible timer
I am porting one small program on C from Windows to Linux and have got a problem. I have sort of "interruptible timer" - I implemented it using WaitForSingleObject with Event and timeout. I am waiting for some Event which can interrupt this waiting. I need to have the same on Linux platform where I am unfortunately a newbie. So my question is: if exist any way to do it - let my know if somebody know what can be used for implementation of this conception on *nix platform?
|