version 1.14, 2006/07/14 18:47:21
|
version 1.14.2.1, 2006/07/27 23:12:06
|
|
|
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/IPC.h> |
|
#include <Pegasus/Common/HashTable.h> | #include <Pegasus/Common/HashTable.h> |
| |
#include <Pegasus/ProviderManager2/CMPI/CMPIProvider.h> | #include <Pegasus/ProviderManager2/CMPI/CMPIProvider.h> |
|
|
* The cleaning functions for provider threads. | * The cleaning functions for provider threads. |
*/ | */ |
| |
static PEGASUS_THREAD_RETURN PEGASUS_THREAD_CDECL _reaper(void *); |
static ThreadReturnType PEGASUS_THREAD_CDECL _reaper(void *); |
| |
/* | /* |
* The data structures for holding the thread and the CMPIProvider | * The data structures for holding the thread and the CMPIProvider |
|
|
static Semaphore _pollingSem; | static Semaphore _pollingSem; |
static AtomicInt _stopPolling; | static AtomicInt _stopPolling; |
static Mutex _reaperMutex; | static Mutex _reaperMutex; |
static List<cleanupThreadRecord,RecursiveMutex> _finishedThreadList; |
static List<cleanupThreadRecord,Mutex> _finishedThreadList; |
| |
protected: | protected: |
| |