RE: Asynchronous File Reading



Question about GTK : I didn't know anything about gtk_timeout and async file
read . But I know how to do asynchronous i/o in reading and sockets in
general in linux . I suppose GTK won't cause me problems on using this stuff
.



Btw : I 've found a very useful tool that creates GTK+ code
Glade , http://glade.pn.org/ ( when it is up lol )


M.

-----Original Message-----
From: gtk-list-admin gnome org [mailto:gtk-list-admin gnome org]On Behalf Of
Havoc Pennington
Sent: Friday, February 09, 2001 7:24 PM
To: Dugas, Alan
Cc: gtk-app-devel-list gnome org; gtk-list gnome org
Subject: Re: Asynchronous File Reading



"Dugas, Alan" <alan dugas analog com> writes:
> Does anyone have a suggestion on how I could asynchronously read a file?
> I've tried using gtk_timeout_add()/gtk_timeout_remove(), but this causes
> "racing" conditions when run over a network.  Any ideas would be greatly
> appreciated.
>

Sure, use g_io_add_watch().

Havoc

_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list





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