AfDal Event Source Module: Support function to create and maintain asynchronous event sources


Functions

void afdal_event_source_add_signal (gchar *signal_name)
 Adds the signal signal_name to the list of user generated signals.
gchar * afdal_event_source_arm_signal (gchar *signal_basename, GSourceFunc func)
 Arms and associate the given signal name with the given GSourceFunc.
void afdal_event_source_emit_signal (gchar *signal_name, gpointer data)
 Emits the given signal passing in the given data for its handlers.
gboolean afdal_event_source_exist (gchar *signal_name)
 Check if the given signal name exists in the signal pool.
void afdal_event_source_launch (GSourceFunc func, gpointer data)
 Launches the given func as soon as posible inside the AfDal Event Source pool context.
void afdal_event_source_launch_no_thd (GSourceFunc func, gpointer data)
 Launch the given func function as soon as posible inside the AfDal Event Source pool without creating a thread.
void afdal_event_source_print_pool ()
 Prints into de console the current AfDal Event Source pool status.
void afdal_event_source_remove_signal (gchar *signal_name)
 Removes the given signal name from the pool of signals registered (deprecated).
guint afdal_event_source_set_callback (gchar *signal_name, GSourceFunc callback)
 Associate the given signal with the given callback.