search for: waiting_control_code

Displaying 1 result from an estimated 1 matches for "waiting_control_code".

2006 Dec 07
0
Fwd: win32-service problems with patch
...() +VALUE Ruby_Service_Ctrl(VALUE self) { while (WaitForSingleObject(hStopEvent,0) == WAIT_TIMEOUT) - { + { __try { EnterCriticalSection(&csControlCode); @@ -108,20 +102,22 @@ // Check to see if anything interesting has been signaled if (waiting_control_code != IDLE_CONTROL_CODE) { - // if there is a code, create a ruby thread to deal with it - // this might be over engineering the solution, but I don''t - // want to block Service_Ctrl longer than necessary and the - // critical section will...