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

Re: cdrtools cdrecord/cdrecord.c

scdbackup@gmx.net wrote:

> Hi,
> > > I recently introduced a fifo into my growisofs script.
> > > Now it is already obsolete. What a carreer. :))
> > >
> > For a talk I gave on "introduction to pthreads" I wrote a ring buffer 
> > program with most of the options one could want.
> Isn't there anybody in the world who did not make his own fifo ? :o)

I did since 1987.... 

> But i could need a pointer to some programming hints about
> threads and signal handling. Especially how to keep all
> but a particular thread from being interrupted and jumping
> into the signal handler function.

Be careful, most "pthreads" programs that have been developed on Linux
do not run elsewhere because Linux is not very standard compliant.

If you are looking for a general purpuse fifo code, check the fifo
code from star. It is extremely mature (as it is" on" by default 
since 15 years) and it is higly portable.


 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply to: