in reply to Re: problems on signal handling, Glib mainloop, and named pipe
in thread problems on signal handling, Glib mainloop, and named pipe

Should I open the fifo inside the signal handler, or I should emit an event to Glib mainloop, and work on the pipe later?
  • Comment on Re^2: problems on signal handling, Glib mainloop, and named pipe

Replies are listed 'Best First'.
Re^3: problems on signal handling, Glib mainloop, and named pipe
by ig (Vicar) on Oct 14, 2010 at 08:17 UTC

    I guess that depends on why you are opening the fifo and in particular where in your program you want to use it. I don't know about emitting events to Glib mainloop.

    If you describe what you are trying to achieve, someone might be able to give you more guidance.