I am writing code in C++ using Win32 API wherever needed. I wish to accomplish the following. When a certain event occurs I want to set an `alarm()` or start a timer which will send a `SIGALRM` signal to the process after 1s. The process should continue once the alarm has been set. It might so happen that I may have to cancel the alarm (or stop the timer) if certain conditions are met. What system calls can help me do this?