RE: Problem with gtk
- From: "Viraj Chatterjee" <vchatter adobe com>
- To: "Naveen Kumar" <naveen galieosoft com>, <gtk-app-devel-list gnome org>
- Subject: RE: Problem with gtk
- Date: Sun, 17 Dec 2006 09:53:50 +0530
If the intention is to run a loop for 25000 iterations, then this is a
horrible way to attempt that.
You haven't initialized i, neither are you incrementing it.
-vc
-----Original Message-----
From: gtk-app-devel-list-bounces gnome org
[mailto:gtk-app-devel-list-bounces gnome org] On Behalf Of Naveen Kumar
Sent: Saturday, December 16, 2006 4:56 PM
To: gtk-app-devel-list gnome org
Subject: Problem with gtk
Hi all,
I am using an hand held device running on montavista linux,
1) i wrote a c program
int main ()
{
int i;
while (i < 25000)
printf ("%d\n", i);
}
it works very fine in my machine without any problem. (it takes around
1.2
minutes)
2)If try to run the same part of code on a button click using gtk,
the application is crashing around 30 seconds saying just "Terminated".
Is there any time out as such we can specify for gtk applications..
Please help me regarding this.
Thanks and Regards
Naveen
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]