_CMPIBrokerExtFT Struct Reference
#include <cmpi/cmpift.h>
List of all members.
Detailed Description
This structure is a table of pointers to extended broker CIMOM services This table is made available by the Management Broker, whenever a provider is loaded and initialized. This is an extension used by Pegasus to support platform dependencies.
Member Function Documentation
_CMPIBrokerExtFT::CMPI_THREAD_RETURN |
( |
CMPI_THREAD_CDECL * |
start |
) |
|
Start a new thread using the POSIX threading semantics.
- Parameters:
-
| start | Pointer to the function to be started as a thread. |
| param | Pointer to the function to be started as a thread. |
| detached | If not zero, defines that the thread should run in detached mode. |
- Returns:
- The return value is the thread ID.
Member Data Documentation
Cancel the thread using the POSIX threading semantics.
- Parameters:
-
| thread | The thread to be canceled. |
- Returns:
- Completion code as defined by POSIX threading semantics (pthread_cancel)
Wait until condition is signalled. This function returns when condition has been signalled already and otherwise must wait for the signal and then return.
- Parameters:
-
| cond | The handle of the condition variable to be used. |
| mutex | The handle of a locked mutex guarding this condition variable. |
- Returns:
- Return value As defined by POSIX threading specifications.
Destroy a condition variable.
- Parameters:
-
| cond | The condition variable to be destroyed. |
Destroy a POSIX threading conformant mutex.
- Parameters:
-
| mutex | The mutex to be destroyed. |
Destroy a POSIX threading conformant thread key.
- Parameters:
-
| key | The key to be destroyed. |
- Returns:
- Completion code as defined by POSIX threading semantics.
Causes the current thread to exit with the passed in return code using POSIX threading semantics.
- Parameters:
-
| return_code | Is the return code that should be used for the thread. |
- Returns:
- The function never exits.
Return data from the thread local store using a thread key.
- Parameters:
-
| key | The key to be used to retrieve the data. |
- Returns:
- Completion code as defined by POSIX threading semantics.
Waits until the specified thread ends using the POSIX threading semantics.
- Parameters:
-
| thread | The thread ID of the thread waiting for completion. |
| retval | Pointer to the return value of the thread. |
- Returns:
- Completion code as defined by POSIX threading semantics (pthread_join)
Attempt to get control of the mutex and must wait until released when not available.
- Parameters:
-
| mutex | The mutex to be locked. |
Create a new POSIX threading-conformant condition variable.
- Parameters:
-
| opt | The POSIX options. If not options are to be defined the 0 values must be used. |
- Returns:
- Handle of newly created condition variable.
Create a POSIX threading conformant mutex.
- Parameters:
-
| opt | The POSIX options. If not options are to be defined the 0 values must be used. |
- Returns:
- Handle of newly created mutex.
This function complements a generic dynamic library nameto its OS-dependent native format.
- Parameters:
-
| filename | Pointer to the generic library name, |
- Returns:
- The returned char* pointer points to the complemented library name in native OS format. Space for this string has been obtained using malloc() and must be released using free() by the caller. In case no storage could be obtained for the complemented library name, NULL will be returned.
Set a pointer to data in the therad local store using a thread key.
- Parameters:
-
| key | The key to be used. |
| value | The pointer to the data. |
- Returns:
- Completion code as defined by POSIX threading semantics.
Sends a signal to a condition variable.
- Parameters:
-
| cond | Specifies the handle of the condition variable to send the signal. |
- Returns:
- As defined by POSIX threading specifications.
Executes the specified function procedure only once during the lifetime of the thread.
- Parameters:
-
| once | The pointer to the counter. |
| The | function to be called |
- Returns:
- Completion code as defined by POSIX threading semantics (pthread_once)
Suspends the execution of the current thread for the specified duration.
- Parameters:
-
| msec | The suspend duration in milliseconds. |
- Returns:
- Completion code as defined by POSIX threading semantics (pthread_sleep)
Wait until the condition is signalled using a timeout value. This function shall return when condition has been signalled already and otherwise must wait for the signal and then return. The function shall return when the timeout specification elapses before the condition is signalled.
- Parameters:
-
| cond | Specifies the handle of the condition variable to be used. |
| mutex | Specifies the handle of a locked mutex guarding this condition variable. |
| wait | Specifies the timeout value. |
- Returns:
- As defined by POSIX threading specifications.
Release control of the mutex.
- Parameters:
-
| mutex | The mutex to be unlocked. |
The documentation for this struct was generated from the following file: