From bce0666db7ec0fd758c781cd3db6ea493f78d408 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Mon, 08 Apr 2013 17:26:50 +0000
Subject: [PATCH] Fix for OPENDJ-617. Resolve race condition in Windows Services when stopping the server.
---
opends/src/build-tools/windows/service.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/opends/src/build-tools/windows/service.h b/opends/src/build-tools/windows/service.h
index 32cd2c2..fc13019 100644
--- a/opends/src/build-tools/windows/service.h
+++ b/opends/src/build-tools/windows/service.h
@@ -23,6 +23,7 @@
*
*
* Copyright 2008 Sun Microsystems, Inc.
+ * Portions Copyright 2013 ForgeRock AS.
*/
#include "common.h"
@@ -106,4 +107,5 @@
SERVICE_STATUS_HANDLE *serviceStatusHandle
);
void serviceHandler(DWORD controlCode);
+BOOL getServiceStatus(char *serviceName, LPDWORD returnState);
--
Gitblit v1.10.0