Re: g_io_channel_add_watch



        An IO channel needs an open file descritpor.
How do you manage that in windows ? I assume you need to
use a socket instead of a named pipe. (I'm guessing
you need a simple IPC). I'm absolutly clueless in
the Win environmentbut I know that g_io_channel_add_watch
needs to have an open file descriptor if its ever going
to perform select() poll() or whatever it does.

Good luck!
        -Tristan


Harring Figueiredo wrote:

Folks,

 I am writting an app on Linux to run on Win.

 On Win, once we open a file, it is locked, so other proc are automatically
blocked from  opening that file.

  I want to add a watch (g_io_chanel_add_watch) to a regular file on windows.
Will this cause the file to remain open while the watch is active ? Can the
other process(es) still open the file?

 Anyone with experience on that ?

 Thanks.

 I have not tested, because I still don;t have the Win machine... Thanks !!

Harring.

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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