Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Tail rotating logfiles with tie

by Roger (Parson)
on Sep 30, 2004 at 11:36 UTC ( [id://395309]=note: print w/replies, xml ) Need Help??


in reply to Tail rotating logfiles with tie

Have you thought about implementing semaphores to synchronize between your readers and writers?

Replies are listed 'Best First'.
Re^2: Tail rotating logfiles with tie
by Brutha (Friar) on Sep 30, 2004 at 12:51 UTC
    Semaphores are a good idea for different scenarios. My main application is a server performing downloads and compilations on demand. The reader is just a GUI added afterwards for people who prefer coloured pictures and 2-buttons over 100 keys. Both scripts are completly independent of one each other. I did not want to alter the source of the files.

    Nevertheless, it is good to have red coloured error messages.

    And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
    (Terry Pratchett, Small Gods)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://395309]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found