gdk_input_add



Currently I'm trying to read a file that gets updated asynchronously.
gtk_timeout_add() seems to cause racing conditions.  gdk_input_add() locks
up my cpu.  Does anyone have a method for asynchonously reading a file that
works?



				-- Stupid Genius
P.S.
I've seen some messages regarding gdk_input_add() which advise against using
it to monitor a file (i.e. it will always have data for reading, etc).  Can
anyone comment on this?




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