CMPI 2.1.0 API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields

Function table for MB operating system encapsulation services. More...

#include <cmpift.h>

Data Fields

CMPIVersion ftVersion
 CMPI version supported by the MB for this function table. More...
 
char *(* resolveFileName )(const char *libName)
 Resolve a generic load library name to its file name. More...
 
CMPI_THREAD_TYPE(* newThread )(CMPIThreadFunc start, void *parm, int detached)
 Start a new thread, using POSIX threading semantics. More...
 
int(* joinThread )(CMPI_THREAD_TYPE thread, CMPI_THREAD_RETURN *retval)
 Wait until the specified thread ends, using POSIX threading semantics. More...
 
int(* exitThread )(CMPI_THREAD_RETURN return_code)
 Cause current thread to exit with the passed-in return code, using POSIX threading semantics. More...
 
int(* cancelThread )(CMPI_THREAD_TYPE thread)
 Cancel a running thread, using POSIX threading semantics. More...
 
int(* threadSleep )(CMPIUint32 msec)
 Suspend execution of current thread for a specified duration. More...
 
int(* threadOnce )(int *once, CMPIThreadOnceFunc function)
 Call a function once for a given once-object. More...
 
int(* createThreadKey )(CMPI_THREAD_KEY_TYPE *key, CMPIThreadKeyCleanupFunc cleanup)
 Create a POSIX threading-conformant thread key for accessing the thread local store. More...
 
int(* destroyThreadKey )(CMPI_THREAD_KEY_TYPE key)
 Destroy a POSIX threading-conformant thread key for accessing the thread local store. More...
 
void *(* getThreadSpecific )(CMPI_THREAD_KEY_TYPE key)
 Get a data pointer from the thread local store using a POSIX threading-conformant thread key. More...
 
int(* setThreadSpecific )(CMPI_THREAD_KEY_TYPE key, void *value)
 Set a data pointer in the thread local store using a POSIX threading-conformant thread key. More...
 
CMPI_MUTEX_TYPE(* newMutex )(int opt)
 Create a POSIX threading-conformant mutex. More...
 
void(* destroyMutex )(CMPI_MUTEX_TYPE mutex)
 Destroy a POSIX threading-conformant mutex. (Deprecated) More...
 
void(* lockMutex )(CMPI_MUTEX_TYPE mutex)
 Lock a POSIX threading-conformant mutex. (Deprecated) More...
 
void(* unlockMutex )(CMPI_MUTEX_TYPE mutex)
 Unlock a POSIX threading-conformant mutex. (Deprecated) More...
 
CMPI_COND_TYPE(* newCondition )(int opt)
 Create a new POSIX threading-conformant condition variable. More...
 
void(* destroyCondition )(CMPI_COND_TYPE cond)
 Destroy a POSIX threading-conformant condition variable. (Deprecated) More...
 
int(* condWait )(CMPI_COND_TYPE cond, CMPI_MUTEX_TYPE mutex)
 Wait until a POSIX threading-conformant condition variable is signalled. More...
 
int(* timedCondWait )(CMPI_COND_TYPE cond, CMPI_MUTEX_TYPE mutex, struct timespec *wait)
 Wait until a POSIX threading-conformant condition variable is signaled using a timeout value. More...
 
int(* signalCondition )(CMPI_COND_TYPE cond)
 Send a signal to a POSIX threading-conformant condition variable. More...
 
int(* destroyMutex2 )(CMPI_MUTEX_TYPE mutex)
 Destroy a POSIX threading-conformant mutex. More...
 
int(* lockMutex2 )(CMPI_MUTEX_TYPE mutex)
 Lock a POSIX threading-conformant mutex. More...
 
int(* unlockMutex2 )(CMPI_MUTEX_TYPE mutex)
 Unlock a POSIX threading-conformant mutex. More...
 
int(* destroyCondition2 )(CMPI_COND_TYPE cond)
 Destroy a POSIX threading-conformant condition variable. More...
 

Detailed Description

Function table for MB operating system encapsulation services.

This function table is referenced by the CMPIBroker structure, and provides the following operating system encapsulation services: Library Resolution, POSIX-conformant Threads, POSIX-conformant Mutexes, and POSIX-conformant Conditions.

Capabilities:
Part of the OS Encapsulation Services capability.
Requirement Change:
Required to be supported since CMPI 2.0.

If the OS Encapsulation Services capability is not supported, the function pointers in this function table shall not be NULL, but shall point to a function that can be called and then indicate back to the caller that it is not supported, as specified in the description of the function.

Field Documentation

CMPIVersion CMPIBrokerExtFT::ftVersion

CMPI version supported by the MB for this function table.

Any earlier CMPI versions are implicitly also supported.

See CMPIVersion<NNN> for valid CMPI version numbers.


The documentation for this struct was generated from the following file: