version 1.165, 2005/05/25 02:41:21
|
version 1.166, 2005/05/27 15:34:39
|
|
|
AutoPtr<CIMServerProcess> _cimServerProcess(new CIMServerProcess()); | AutoPtr<CIMServerProcess> _cimServerProcess(new CIMServerProcess()); |
static CIMServer* _cimServer = 0; | static CIMServer* _cimServer = 0; |
static Monitor* _monitor = 0; | static Monitor* _monitor = 0; |
|
static Thread* dummyInitialThread = 0; |
// | // |
// The command name. | // The command name. |
// | // |
|
|
{ | { |
delete _monitor; | delete _monitor; |
} | } |
|
if (dummyInitialThread) |
|
{ |
|
Thread::clearLanguages(); |
|
delete dummyInitialThread; |
|
} |
} | } |
| |
// l10n | // l10n |
|
|
// because this thread is not in a ThreadPool, but is used | // because this thread is not in a ThreadPool, but is used |
// to service CIM requests. | // to service CIM requests. |
// The run function for the dummy Thread should never be called, | // The run function for the dummy Thread should never be called, |
Thread *dummyInitialThread = new Thread(dummyThreadFunc, NULL, false); |
dummyInitialThread = new Thread(dummyThreadFunc, NULL, false); |
Thread::setCurrent(dummyInitialThread); | Thread::setCurrent(dummyInitialThread); |
AcceptLanguages default_al; | AcceptLanguages default_al; |
try{ | try{ |