Hello,

What I need to make is a thread what suspends itself and restarts on ocassions when some events happen or so. I was originally wondering to use the WaitForSingleObject inside the thread with an infinite wait loop until event happends, but no idea about unix/linux. Could anybody please tell me how to do this?