On 2001.02.12 02:42:58 +0100 Paul Davis wrote:
> >Okay. I included some of the functions in here.
> >It's quite a lot. Let's hope this is enough...
> >Let's go with the source. Here it is (the stuff that matters, I think).
> If
> >you need more, ask again :)
>
> i don't see anywhere that you set the pipes to be non-blocking. not
> doing this will cause lavrec_input() to block indefinitely if no (or
> insufficient) data is available. use fcntl() to change the flags on
> the pipe.
>
> i should have mentioned this, sorry. been hacking unix for too long :)
>
I inserted fcntl(inp_pipe, O_NONBLOCK); and fcntl(out_pipe, O_NONBLOCK);
but still no change... Or am I using fcntl() in the wrong way?
Ronald
--
---------------------------------------------------.
-- .-. | Ronald Bultje |
-- /V\ | Running: Linux 2.4.1 and OpenBSD 2.8 |
-- // \\ | E-mail : [EMAIL PROTECTED] |
-- /( )\ | WWW : http://ronald.bitfreak.net/ |
-- ^^-^^ | *** Warning: Unix Addicted *** |
---------------------------------------------------'
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list