56#include <glib-object.h>
63#define TOOLS_CORE_PROP_TPOOL "tcs_prop_thread_pool"
83 void (*cancel)(guint id);
85 const gchar *threadName,
110 g_object_get(ctx->serviceObj, TOOLS_CORE_PROP_TPOOL, &pool, NULL);
146 return pool->submit(ctx, cb, data, dtor);
174 pool->cancel(taskId);
212static inline gboolean
214 const gchar *threadName,
222 return pool->start(ctx, threadName, cb, interrupt, data, dtor);