justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: When coding with WaitForSingleObject, do you prefer waiting INFINITE-ly or just giving a time-out value?
Asked by dave (222.90.231.x) on June 6 2010, 7:17pm
Reply on June 6 2010, 8:25pm:
    Usually I either wait INFINITE or I wait for a certain amount of time (say, 10ms, but that of course depends on the context) and check the return value to see if it is WAIT_OBJECT_0.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS