CMPI 2.1.0 API
|
Variables | |
CMPI_COND_TYPE(* | CMPIBrokerExtFT::newCondition )(int opt) |
Create a new POSIX threading-conformant condition variable. More... | |
void(* | CMPIBrokerExtFT::destroyCondition )(CMPI_COND_TYPE cond) |
Destroy a POSIX threading-conformant condition variable. (Deprecated) More... | |
int(* | CMPIBrokerExtFT::condWait )(CMPI_COND_TYPE cond, CMPI_MUTEX_TYPE mutex) |
Wait until a POSIX threading-conformant condition variable is signalled. More... | |
int(* | CMPIBrokerExtFT::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(* | CMPIBrokerExtFT::signalCondition )(CMPI_COND_TYPE cond) |
Send a signal to a POSIX threading-conformant condition variable. More... | |
int(* | CMPIBrokerExtFT::destroyCondition2 )(CMPI_COND_TYPE cond) |
Destroy a POSIX threading-conformant condition variable. More... | |
CMPI_COND_TYPE(* CMPIBrokerExtFT::newCondition)(int opt) |
Create a new POSIX threading-conformant condition variable.
CMPIBrokerExtFT.newCondition() creates a new POSIX threading-conformant condition variable.
opt | For future use. It should be ignored by the MB, and MIs should pass a value of 0. |
If successful, the handle of the new condition variable will be returned.
If not successful, NULL will be returned.
opt
to be for future use. void(* CMPIBrokerExtFT::destroyCondition)(CMPI_COND_TYPE cond) |
Destroy a POSIX threading-conformant condition variable. (Deprecated)
CMPIBrokerExtFT.destroyCondition() destroys a POSIX threading-conformant condition variable.
cond | Handle of the condition variable to be destroyed. |
int(* CMPIBrokerExtFT::condWait)(CMPI_COND_TYPE cond, CMPI_MUTEX_TYPE mutex) |
Wait until a POSIX threading-conformant condition variable is signalled.
CMPIBrokerExtFT.condWait() waits until a POSIX threading-conformant condition variable is signaled. If the condition variable has been signaled already, the function returns immediately; otherwise, it suspends the current thread to wait for the signal and then returns.
cond | Handle of the condition variable to be used. |
mutex | Handle of a locked mutex guarding this condition variable. |
If successful, zero will be returned.
If not successful, a non-zero error code will be returned.
errno.h
, specifically for the pthread_cond_wait()
function; both are defined in IEEE 1003.1.int(* CMPIBrokerExtFT::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.
CMPIBrokerExtFT.timedCondWait() waits until a POSIX threading-conformant condition variable is signalled. If the condition variable has been signalled already, the function returns immediately; otherwise, it suspends the current thread to wait for the signal and then returns. The function returns when the timeout expires before the condition is signalled.
cond | Handle of the condition variable to be used. |
mutex | Handle of a locked mutex guarding this condition variable. |
wait | Timeout value. See structure timespec defined in time.h for details; both are defined in IEEE 1003.1. |
If successful, zero will be returned.
If not successful, a non-zero error code will be returned.
errno.h
, specifically for the pthread_cond_timedwait()
function; both are defined in IEEE 1003.1.int(* CMPIBrokerExtFT::signalCondition)(CMPI_COND_TYPE cond) |
Send a signal to a POSIX threading-conformant condition variable.
CMPIBrokerExtFT.signalCondition() sends a signal to a POSIX threading-conformant condition variable.
cond | Handle of the target condition variable. |
If successful, zero will be returned.
If not successful, a non-zero error code will be returned.
errno.h
, specifically for the pthread_cond_signal()
function; both are defined in IEEE 1003.1.int(* CMPIBrokerExtFT::destroyCondition2)(CMPI_COND_TYPE cond) |
Destroy a POSIX threading-conformant condition variable.
CMPIBrokerExtFT.destroyCondition2() destroys a POSIX threading-conformant condition variable.
cond | Handle of the condition variable to be destroyed. |
If successful, zero will be returned.
If not successful, a non-zero error code will be returned.
errno.h
, specifically for the pthread_cond_destroy()
function; both are defined in IEEE 1003.1.