AgsTask

AgsTask — Perform operations in a thread safe context.

Functions

void ags_task_launch ()
void ags_task_failure ()
AgsTask * ags_task_new ()

Types and Values

Includes

#include <ags/audio/ags_task.h>

Description

AgsTask object acts an interceptor in a thread safe context.

Functions

ags_task_launch ()

void
ags_task_launch (AgsTask *task);

Intercept task.

Parameters

task

an AgsTask

 

Since 0.4


ags_task_failure ()

void
ags_task_failure (AgsTask *task,
                  GError *error);

Signals failure of task.

Parameters

task

an AgsTask

 

error

is NULL on success

 

Since 0.4


ags_task_new ()

AgsTask *
ags_task_new ();

Creates a AgsTask

Returns

a new AgsTask

Since 0.4

Types and Values

enum AgsTaskFlags

Members

AGS_TASK_LOCKED