Re: no effect of sleep() in gtk_timeout_add function????



On Wed, 30 Jan 2002, anuradha arora wrote:

hello,
i have called sleep() function inside the time_func.

time_func is called periodically via a
gtk_timeout_add().

Why does the sleep() call seem to have no effect at
all?

1: You did not #include <time.h>

2: DON'T use sleep! inside a gtk-application it MUST be the
   wrong way to do things.

GH


thanks,
anuradha.

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


----------------------------------------------------------------
Göran Hasse            email: gh raditex se     Tel: 08-6949270
Raditex AB             http://www.raditex.se
Sickla Alle 7, 1tr                              Mob: 070-5530148
131 34  NACKA, SWEDEN





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]