Re: Asynchronous File Reading
- From: David Helder <dhelder umich edu>
- To: "Dugas, Alan" <alan dugas analog com>
- Cc: <gtk-app-devel-list gnome org>
- Subject: Re: Asynchronous File Reading
- Date: Fri, 9 Feb 2001 11:23:48 -0500 (EST)
Create an IO channel from the descriptor and use g_io_add_watch.
David
On Fri, 9 Feb 2001, Dugas, Alan wrote:
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.
--
__ _ __ David Helder - University of Michigan
___/ /__ __ __(_)__/ / dhelder umich edu
/ _ / _ `/ |/ / / _ / http://www.eecs.umich.edu/~dhelder
|_,_/|_,_/|___/_/|_,_/ Jungle Monkey: http://www.junglemonkey.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]