GIOChannel general question




HI!

question is:
can I safely return from a callback that reads from a GIOChannel without
reading data from this channel and read the data in the next execution of
this callback? the channel is watched by g_io_add_watch.
I am asking this because final file I create in this callback is not the
same lenght as the source file. when I read the whole data in one
execution of this callback the resulted file is the same as the source
file but it locks my program.

source file is hiberfil.sys and is read by dd, stdout from dd is watched
in this callback, result file is asd

-rw-r--r--  1 hubert users 234408960 2004-12-06 09:49 asd
-rw-r--r--  1 hubert users 234409984 2004-11-30 10:15 hiberfil.sys

regards
hs




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