19 #ifndef _THREADPOOL_H_ 20 #define _THREADPOOL_H_ 48 #include <glib-object.h> 51 #define TOOLS_CORE_PROP_TPOOL "tcs_prop_thread_pool" 71 void (*cancel)(guint id);
97 g_object_get(ctx->
serviceObj, TOOLS_CORE_PROP_TPOOL, &pool, NULL);
133 return pool->submit(ctx, cb, data, dtor);
161 pool->cancel(taskId);
198 G_INLINE_FUNC gboolean
207 return pool->start(ctx, cb, interrupt, data, dtor);