AgsTaskCompletion

AgsTaskCompletion — task completion

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTaskCompletion

Implemented Interfaces

AgsTaskCompletion implements AgsConnectable.

Includes

#include <ags/thread/ags_task_completion.h>

Description

The AgsTaskCompletion should be used to complete tasks from caller thread.

Functions

ags_task_completion_complete ()

void
ags_task_completion_complete (AgsTaskCompletion *task_completion);


ags_task_completion_new ()

AgsTaskCompletion *
ags_task_completion_new (GObject *task,
                         gpointer data);

Create a new AgsTaskCompletion.

Parameters

task

the AgsTask

 

data

pointer to user data

 

Returns

the new AgsTaskCompletion

Since: 0.4

Types and Values

enum AgsTaskCompletionFlags

Members

AGS_TASK_COMPLETION_QUEUED

   

AGS_TASK_COMPLETION_BUSY

   

AGS_TASK_COMPLETION_READY

   

AGS_TASK_COMPLETION_COMPLETED

   

Signal Details

The “complete” signal

void
user_function (AgsTaskCompletion *task_completion,
               gpointer           user_data)

Flags: Run Last