Interface

AgsMainLoop

Description

interface Ags.MainLoop : GObject.Object

No description available.

Prerequisite

In order to implement MainLoop, your type must inherit fromGObject.

Implementations

Instance methods

ags_main_loop_change_frequency

Change frequency.

since: 3.0.0

ags_main_loop_dec_queued_critical_region

Decrement thread needs access to main loop’s critical region field.

since: 3.0.0

ags_main_loop_get_tree_lock

Retrieve the tree mutex.

since: 3.0.0

ags_main_loop_inc_queued_critical_region

Increment thread needs access to main loop’s critical region field.

since: 3.0.0

ags_main_loop_is_critical_region

Check if main loop is in critical region.

since: 3.0.0

ags_main_loop_is_syncing

Check if thread tree is syncing.

since: 3.0.0

ags_main_loop_set_critical_region

Set main loop is in critical region.

since: 3.0.0

ags_main_loop_set_syncing

Set thread tree is syncing.

since: 3.0.0

ags_main_loop_test_queued_critical_region

Test main loop may enter critical region.

since: 3.0.0

Signals

Ags.MainLoop::change-frequency

Change frequency.

since: 3.0.0

Interface structure

struct AgsMainLoopInterface {
  GTypeInterface ginterface;
  GRecMutex* (* get_tree_lock) (
    AgsMainLoop* main_loop
  );
  void (* set_syncing) (
    AgsMainLoop* main_loop,
    gboolean is_syncing
  );
  gboolean (* is_syncing) (
    AgsMainLoop* main_loop
  );
  void (* set_critical_region) (
    AgsMainLoop* main_loop,
    gboolean is_critical_region
  );
  gboolean (* is_critical_region) (
    AgsMainLoop* main_loop
  );
  void (* inc_queued_critical_region) (
    AgsMainLoop* main_loop
  );
  void (* dec_queued_critical_region) (
    AgsMainLoop* main_loop
  );
  guint (* test_queued_critical_region) (
    AgsMainLoop* main_loop
  );
  void (* change_frequency) (
    AgsMainLoop* main_loop,
    gdouble frequency
  );
  
}

No description available.

Interface members
ginterface
GTypeInterface
 

No description available.

get_tree_lock
GRecMutex* (* get_tree_lock) (
    AgsMainLoop* main_loop
  )
 

No description available.

set_syncing
void (* set_syncing) (
    AgsMainLoop* main_loop,
    gboolean is_syncing
  )
 

No description available.

is_syncing
gboolean (* is_syncing) (
    AgsMainLoop* main_loop
  )
 

No description available.

set_critical_region
void (* set_critical_region) (
    AgsMainLoop* main_loop,
    gboolean is_critical_region
  )
 

No description available.

is_critical_region
gboolean (* is_critical_region) (
    AgsMainLoop* main_loop
  )
 

No description available.

inc_queued_critical_region
void (* inc_queued_critical_region) (
    AgsMainLoop* main_loop
  )
 

No description available.

dec_queued_critical_region
void (* dec_queued_critical_region) (
    AgsMainLoop* main_loop
  )
 

No description available.

test_queued_critical_region
guint (* test_queued_critical_region) (
    AgsMainLoop* main_loop
  )
 

No description available.

change_frequency
void (* change_frequency) (
    AgsMainLoop* main_loop,
    gdouble frequency
  )
 

No description available.

Virtual methods

Ags.MainLoop.change_frequency

Change frequency.

since: 3.0.0

Ags.MainLoop.dec_queued_critical_region

Decrement thread needs access to main loop’s critical region field.

since: 3.0.0

Ags.MainLoop.get_tree_lock

Retrieve the tree mutex.

since: 3.0.0

Ags.MainLoop.inc_queued_critical_region

Increment thread needs access to main loop’s critical region field.

since: 3.0.0

Ags.MainLoop.is_critical_region

Check if main loop is in critical region.

since: 3.0.0

Ags.MainLoop.is_syncing

Check if thread tree is syncing.

since: 3.0.0

Ags.MainLoop.set_critical_region

Set main loop is in critical region.

since: 3.0.0

Ags.MainLoop.set_syncing

Set thread tree is syncing.

since: 3.0.0

Ags.MainLoop.test_queued_critical_region

Test main loop may enter critical region.

since: 3.0.0