Top | ![]() |
![]() |
![]() |
![]() |
void | (*GdaThreaderFunc) () |
GObject * | gda_threader_new () |
guint | gda_threader_start_thread () |
void | gda_threader_cancel () |
GObject *
gda_threader_new (void
);
Creates a new GdaThreader object. This object class is normally not instantiated directly but through child classes objects' intantiation
guint gda_threader_start_thread (GdaThreader *thread
,GThreadFunc func
,gpointer func_arg
,GdaThreaderFunc ok_callback
,GdaThreaderFunc cancel_callback
,GError **error
);
thread |
a GdaThreader object |
|
func |
the function to be called in the newly created thread |
|
func_arg |
|
|
ok_callback |
callback called when |
|
cancel_callback |
callback called when |
|
error |
place to store an error when creating the thread or |
“cancelled”
signalvoid user_function (GdaThreader *gdathreader, guint arg1, gpointer arg2, gpointer user_data)
gdathreader |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First
“finished”
signalvoid user_function (GdaThreader *gdathreader, guint arg1, gpointer arg2, gpointer user_data)
gdathreader |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First