thread
- From: "Blowfish" <blow_fish telkom net>
- To: gtk-list gnome org
- Subject: thread
- Date: Thu, 14 Nov 2002 01:37:13 +0700
i have 2 gtkbutton, i'm doing a heavy load process when i
click my button1
void
on_button1_clicked (GtkButton *button, gpointer
user_data)
{
gdk_threads_enter ();
while(1) {
do_heavy_load();
}
gdk_threads_leave();
}
how can i stop my process with button2 ?, because the
program seems to be waiting button1 callback function to
finished executing ?
Thanks
===================================================================================
Selama Bulan Suci Ramadhan, ikuti Netkuis Ramadhan, Lomba Design E-Card, Opini Berhadiah hanya di www.plasa.com
===================================================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]