Re: Help: multithreaded GNOME app



> Set up a pipe(), and pass one of the fds as an input source to Gtk+. 
> Gtk+ will then call your callback function whenever data arrives over
> the pipe. 

That was my original thought, but I was wondering if there was a better
approach to this.  Except, how do I allocate the file descriptors?  I'm
assuming I can't just pick some arbitrary number > 2.

Jason.



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