This buffer is for notes you don't want to save, and for Lisp evaluation.
If you want to create a file, visit that file with C-x C-f,
then enter the text in that file's own buffer.

I have written a little server that spawns lame in a thread, and then 
creates a named pipe which lame writes to as its output, and then
the server reads from that pipe and outputs it to the network.  This
all works fine.  My program only accepts one connection, when that
connection is lost, I kill the encoding process (this is abrupt, I just
call pthread_cancel on the thread that starts by launching lame's main
function).  Then if I receive another connection I start the encoding
again by running lame's main again in a thread.

The problem is that, if lame is killed, then restarted, I cannot kill my
server, lame hangs onto some resources.  If lame has not been killed, then
I can  kill the server fine, even midEncoding.  but if lame has been
killed, then my server hangs on for dear life (signal 9).  Its not a
problem with my  code, when I remove the calls that launch and kill lame,
my program works  fine.  Is there something else I need to do to kill
lame??  Are there pipes or some resources that it is hanging on to?
thanks.
-kali

--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to