GUI very slow when sleep() called...
- From: cyrusp cia com au
- To: gtk-app-devel-list gnome org
- Subject: GUI very slow when sleep() called...
- Date: Tue, 3 Oct 2000 19:41:02 +1100
Hello,
In an app I'm writing I have to put a usleep(100000) call in my
code. However when I do this my gui becomes very slow and unresponsive - 
understandibly since I'm doing it in the gtk_main loop... 
Is there a way to sleep but refresh the gui at the same time?
Thanks,
Cyrus
-- 
Cyrus Patel - cyrus linuxfan com
Dept. of Computer Engineering                           Debian GNU/Linux 
University of New South Wales                           (Woody)
Sydney, Australia.                                      ICQ: 50738541   
http://www.cyrusp.com   Mobile: 0402 266 731  cyrusmobile linuxfreak com
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]