version 1.3, 2005/04/04 10:52:27
|
version 1.3.8.1, 2006/02/10 16:17:09
|
|
|
//%2005//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
// EMC Corporation; VERITAS Software Corporation; The Open Group. | // EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
static unsigned __stdcall cimserver_windows_thread( void* parm ) | static unsigned __stdcall cimserver_windows_thread( void* parm ) |
{ | { |
int argc = 0; | int argc = 0; |
int rc = _server_proc->cimserver_run( g_argc, g_argv, false ); |
int rc = _server_proc->cimserver_run( g_argc, g_argv, false, false ); |
SetEvent(pegasus_service_event); | SetEvent(pegasus_service_event); |
_endthreadex( rc ); | _endthreadex( rc ); |
return rc; | return rc; |
|
|
// Platform specific run | // Platform specific run |
// | // |
| |
int ServerProcess::platform_run( int argc, char** argv, Boolean shutdownOption ) |
int ServerProcess::platform_run( |
|
int argc, |
|
char** argv, |
|
Boolean shutdownOption, |
|
Boolean debugOutputOption) |
{ | { |
// | // |
// Check for my command line options | // Check for my command line options |
|
|
{ | { |
SetConsoleCtrlHandler( ControlHandler, TRUE ); | SetConsoleCtrlHandler( ControlHandler, TRUE ); |
| |
return cimserver_run( argc, argv, shutdownOption ); |
return cimserver_run(argc, argv, shutdownOption, debugOutputOption); |
} | } |
| |
// | // |