version 1.28, 2006/07/12 19:46:28
|
version 1.28.2.1, 2006/07/27 23:12:06
|
|
|
compoundName=_location+":"+providername; | compoundName=_location+":"+providername; |
try { | try { |
// yield before a potentially lengthy operation. | // yield before a potentially lengthy operation. |
pegasus_yield(); |
Threads::yield(); |
CMPIProvider::initialize(cimom,miVector,compoundName,broker); | CMPIProvider::initialize(cimom,miVector,compoundName,broker); |
if (miVector.miTypes & CMPI_MIType_Method) { | if (miVector.miTypes & CMPI_MIType_Method) { |
if (miVector.methMI->ft->miName==NULL) noUnload=true; | if (miVector.methMI->ft->miName==NULL) noUnload=true; |
|
|
Status savedStatus=_status; | Status savedStatus=_status; |
| |
// yield before a potentially lengthy operation. | // yield before a potentially lengthy operation. |
pegasus_yield(); |
Threads::yield(); |
try | try |
{ | { |
if (noUnload==false) { | if (noUnload==false) { |
|
|
if(_status == INITIALIZED) | if(_status == INITIALIZED) |
{ | { |
// yield before a potentially lengthy operation. | // yield before a potentially lengthy operation. |
pegasus_yield(); |
Threads::yield(); |
try | try |
{ | { |
| |
|
|
{ | { |
while (_cleanedThreads.size() > 0) | while (_cleanedThreads.size() > 0) |
{ | { |
pegasus_yield(); |
Threads::yield(); |
} | } |
} | } |
/* | /* |