Sleep and wait for timer in Visual c++

I'd like to make my app sleep until it recieves a timer message. How should I code it to ensure hardly any processor time is taken up when my app is sleeping.
coles01Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jkrConnect With a Mentor Commented:
Well, if you want to wait for a timer message, the API of choice will be 'MsgWaitForForMultipleObjects()' or 'MsgWaitForForMultipleObjectsEx()'
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.