Name
GdaThread -- Thread support functions
Description
This module (still in development, DON'T USE IT) provides a convenient way
of adding multithread support to GDA applications. As with some other
libgda-common modules, this is intended to be used internally in other
GDA parts, but it is also made available for GDA application supports.
Using this module will allow you to forget about the actual thread
implementation available on your system.
Details
GdaThreadFunc ()
gpointer (*GdaThreadFunc) (GdaThread *thr,
gpointer user_data); |
gda_thread_new ()
Create a new GdaThread object. This function just creates the internal
structures and initializes all the data, but does not start the thread.
To do so, you must use gda_thread_start.
gda_thread_start ()
void gda_thread_start (GdaThread *thr,
gpointer user_data); |
gda_thread_is_running ()
gboolean gda_thread_is_running (GdaThread *thr); |
Checks whether the given thread object is running or not