version 1.155, 2005/03/13 15:44:52
|
version 1.156, 2005/03/15 18:55:56
|
|
|
cout << MessageLoader::getMessage(parms) << endl; | cout << MessageLoader::getMessage(parms) << endl; |
} | } |
| |
|
//This needs to be called at various points in the code depending on the platform and error conditions. |
|
//We need to delete the _cimServer reference on exit in order for the destructors to get called. |
|
void deleteCIMServer() |
|
{ |
|
if (_cimServer) |
|
{ |
|
delete _cimServer; |
|
_cimServer = 0; |
|
} |
|
} |
|
|
// l10n | // l10n |
// | // |
// Dummy function for the Thread object associated with the initial thread. | // Dummy function for the Thread object associated with the initial thread. |
|
|
try | try |
{ | { |
| |
|
|
|
|
|
|
|
|
Monitor monitor; | Monitor monitor; |
//PEP#222 | //PEP#222 |
//CIMServer server(&monitor); | //CIMServer server(&monitor); |
|
|
if (daemonOption) | if (daemonOption) |
_cimServerProcess->notify_parent(1); | _cimServerProcess->notify_parent(1); |
| |
|
deleteCIMServer(); |
return 1; | return 1; |
} | } |
| |
|
deleteCIMServer(); |
return 0; | return 0; |
} | } |
| |