search for: eventhookhash

Displaying 3 results from an estimated 3 matches for "eventhookhash".

2006 Dec 07
0
Fwd: win32-service problems with patch
...put in error handling and set hStopEvent or set service status appropriately. Probably could still be better. * Waiting for hThread to exit AFTER closing hStopEvent (which might be waiting on hStopEvent) * the state SHOULD == RUNNING when service_main starts (I had a problem where it was 0). * EventHookHash was a global variable that Ruby didn''t know about, so it was being garbage collected before the process terminated (especially when the ruby service control was trying to dispatch an event) * service_stop was never being called that I could tell - now I forcefully dispatch the event after...
2005 May 14
4
Problems with custom service and webrick
Hi all, Windows XP Pro Ruby 1.8.2 I''m having a couple of problems with the following service. The first issue is that the code in service_start doesn''t seem to fire off. The second problem is that any attempt to do ''require "webrick"'' within webrick_daemon.rb causes the service to fail on start. Any ideas? # webrickctl.rb
2006 May 22
9
win32/service... still with problems.
Hello list, In my quest to get Mongrel working as service for win32, found some problems with win32/service that make it impossible to solve. Attached is the simplest service script I could do with ruby, which depends on win32/service. I found that doing anything complex in service_stop (killing threads, doing file handling, even sleeping for 0.25 seconds). crash the service with backtraces (of