+2288. [port] win32: mark service as running when we have finished
+ loading. [RT #17441]
+
2287. [bug] Use 'volatile' if the compiler supports it. [RT #17413]
2286. [func] Allow a TCP connection to be used as a weak
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: os.c,v 1.25 2007/06/19 23:46:59 tbox Exp $ */
+/* $Id: os.c,v 1.26 2008/01/09 02:35:10 marka Exp $ */
#include <config.h>
#include <stdarg.h>
ns_os_init(const char *progname) {
ns_paths_init();
setup_syslog(progname);
- ntservice_init();
+ /*
+ * XXXMPA. We may need to split ntservice_init() in two and
+ * just mark as running in ns_os_started(). If we do that
+ * this is where the first part of ntservice_init() should be
+ * called from.
+ *
+ * XXX970 Remove comment if no problems by 9.7.0.
+ *
+ * ntservice_init();
+ */
version_check(progname);
}
void
ns_os_started(void) {
+ ntservice_init();
}