open-vm-tools 12.1.0
|
Public interface of the shared thread pool. More...
#include <threadPool.h>
Data Fields | |
guint(* | submit )(ToolsAppCtx *ctx, ToolsCorePoolCb cb, gpointer data, GDestroyNotify dtor) |
void(* | cancel )(guint id) |
gboolean(* | start )(ToolsAppCtx *ctx, const gchar *threadName, ToolsCorePoolCb cb, ToolsCorePoolCb interrupt, gpointer data, GDestroyNotify dtor) |
Public interface of the shared thread pool.
This struct is published in the service's TOOLS_CORE_PROP_TPOOL property, and contains function pointers to the internal implementation of the thread pool's functions. In general, applications may prefer to use the inline functions provided below instead, since they take care of some of the boilerplate code.