Displaying 2 results from an estimated 2 matches for "hstartevent".
2005 Nov 26
1
Another patch of win32-service for nice startup.
Hi,
I believe this patch would be a perfect solution for a lengthy
initialization application.
Added hStartEvent, service_init, checkpoint increments.
============================================================
--- temp/service.c 2005-11-27 00:03:30.000000000 +0900
+++ service.c 2005-11-27 00:01:58.000000000 +0900
@@ -14,6 +14,7 @@
static VALUE cDaemonError;
static VALUE rbServiceStruct, rbServiceStatusSt...
2006 Dec 07
0
Fwd: win32-service problems with patch
...ing revision 1.67
diff -u -u -r1.67 service.c
--- lib/win32/service.c 25 Nov 2006 16:58:41 -0000 1.67
+++ lib/win32/service.c 7 Dec 2006 13:28:27 -0000
@@ -14,6 +14,7 @@
static VALUE cDaemonError;
static VALUE v_service_struct, v_service_status_struct;
+static HANDLE hThread;
static HANDLE hStartEvent;
static HANDLE hStopEvent;
static HANDLE hStopCompletedEvent;
@@ -21,12 +22,6 @@
static DWORD dwServiceState;
static TCHAR error[1024];
-static VALUE EventHookHash;
-static VALUE thread_group;
-static int cAdd;
-static int cList;
-static int cSize;
-
CRITICAL_SECTION csControlCode;
//...