|
open-vm-tools 10.0.7
|
Go to the source code of this file.
Data Structures | |
| struct | ToolsCorePool |
| Public interface of the shared thread pool. More... | |
Defines | |
| #define | TOOLS_CORE_PROP_TPOOL "tcs_prop_thread_pool" |
Typedefs | |
| typedef void(* | ToolsCorePoolCb )(ToolsAppCtx *ctx, gpointer data) |
| typedef struct ToolsCorePool | ToolsCorePool |
| Public interface of the shared thread pool. | |
Functions | |
| G_INLINE_FUNC ToolsCorePool * | ToolsCorePool_GetPool (ToolsAppCtx *ctx) |
| Returns the thread pool instance for the service. | |
| G_INLINE_FUNC guint | ToolsCorePool_SubmitTask (ToolsAppCtx *ctx, ToolsCorePoolCb cb, gpointer data, GDestroyNotify dtor) |
| Submits a task for execution in the thread pool. | |
| G_INLINE_FUNC void | ToolsCorePool_CancelTask (ToolsAppCtx *ctx, guint taskId) |
| Cancels a task previously submitted to the pool. | |
| G_INLINE_FUNC gboolean | ToolsCorePool_StartThread (ToolsAppCtx *ctx, ToolsCorePoolCb cb, ToolsCorePoolCb interrupt, gpointer data, GDestroyNotify dtor) |
| Starts a task on its own thread. | |
Public interface for vmtoolsd's thread pool.
1.7.6.1