Top | ![]() |
![]() |
![]() |
![]() |
AgsConcurrencyProvider is implemented by AgsServerApplicationContext and AgsThreadApplicationContext.
AgsMutexManager *
ags_concurrency_provider_get_mutex_manager
(AgsConcurrencyProvider *concurrency_provider
);
Get mutex manager of application context.
Since: 2.0.0
AgsThread *
ags_concurrency_provider_get_main_loop
(AgsConcurrencyProvider *concurrency_provider
);
Get main loop of application context.
Since: 2.0.0
AgsThread *
ags_concurrency_provider_get_task_thread
(AgsConcurrencyProvider *concurrency_provider
);
Get task thread of application context.
Since: 2.0.0
AgsThreadPool *
ags_concurrency_provider_get_thread_pool
(AgsConcurrencyProvider *concurrency_provider
);
Get thread pool of application context.
Since: 2.0.0
GList *
ags_concurrency_provider_get_worker (AgsConcurrencyProvider *concurrency_provider
);
Get workers of application context.
Since: 2.0.0
void ags_concurrency_provider_set_worker (AgsConcurrencyProvider *concurrency_provider
,GList *worker
);
Set workers of application context.
Since: 2.0.0
#define AGS_CONCURRENCY_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CONCURRENCY_PROVIDER, AgsConcurrencyProvider))
#define AGS_CONCURRENCY_PROVIDER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_CONCURRENCY_PROVIDER, AgsConcurrencyProviderInterface))
#define AGS_CONCURRENCY_PROVIDER_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_CONCURRENCY_PROVIDER, AgsConcurrencyProviderInterface))
#define AGS_IS_CONCURRENCY_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CONCURRENCY_PROVIDER))
#define AGS_IS_CONCURRENCY_PROVIDER_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_CONCURRENCY_PROVIDER))
#define AGS_TYPE_CONCURRENCY_PROVIDER (ags_concurrency_provider_get_type())
struct AgsConcurrencyProviderInterface { GTypeInterface ginterface; AgsMutexManager* (*get_mutex_manager)(AgsConcurrencyProvider *concurrency_provider); AgsThread* (*get_main_loop)(AgsConcurrencyProvider *concurrency_provider); AgsThread* (*get_task_thread)(AgsConcurrencyProvider *concurrency_provider); AgsThreadPool* (*get_thread_pool)(AgsConcurrencyProvider *concurrency_provider); GList* (*get_worker)(AgsConcurrencyProvider *concurrency_provider); void (*set_worker)(AgsConcurrencyProvider *concurrency_provider, GList *worker); };