Re: Asynchronous File Reading



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]