Am 28. Dec 2000 um 10:33 MET schrieb Dan Langille: > What about a daemon signalling a waiting perl script? > Is it an issue if the daemon signals the perl script when it's already > processing? Could a signal be missed? How about using a FIFO (maybe in /tmp) and let the daemon printf,echo,cat,... control-msgs into the FIFO and have a perl script sitting on the other end? Signals suck. Another advantage would be that the perl script could choose it´s own pace and let things queue up in the FIFO. However, a FIFO only has limited capacity. If I´d be using Haskell (http://www.haskell.org), I´d throw in a forkIO() and would get a neatly multi-threaded solution where one thread reads the FIFO and queues up requests while the other thread queries him for more work -- I don´t know about threaded perl, though. -- \usepackage[latin1]{inputenc}! Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: waiting for new files in a direct... Peter Pentchev
- Re: waiting for new files in a d... Peter Pentchev
- Re: waiting for new files in a directory Dan Langille
- Re: waiting for new files in a directory Jack Rusher
- Re: waiting for new files in a directory Dan Langille
- Re: waiting for new files in a directory Alfred Perlstein
- Re: waiting for new files in a directory Peter Pentchev
- Re: waiting for new files in a directory Dan Langille
- Re: waiting for new files in a directory Peter Pentchev
- Re: waiting for new files in a direct... Dan Langille
- Re: waiting for new files in a d... Volker Stolz
- Re: waiting for new files in... Peter Wemm
- Re: waiting for new files in... Kris Kennaway
- Re: waiting for new files in... Dan Langille
- Re: waiting for new files in... Peter Pentchev
- Re: waiting for new files in... Dag-Erling Smorgrav
- Re: waiting for new files in... Volker Stolz
- Re: waiting for new files in... Dag-Erling Smorgrav
- Re: waiting for new files in... Peter Pentchev
- Re: waiting for new files in... Dag-Erling Smorgrav
- Re: waiting for new files in... Peter Pentchev