Re: Prcoessing outoput from tail


#1

What happens in the middle of a read from tail when the thread is
interrupted? I have yet to get that stage where I can test this, but it
is something I need to watch out for. Would hate to have a short read -
only get half the data!

TIA!
Phy

----- Original Message ----
From: Gustav P. removed_email_address@domain.invalid
To: ruby-talk ML removed_email_address@domain.invalid
Sent: Saturday, March 24, 2007 4:44:25 PM
Subject: Re: Prcoessing outoput from tail

Phy P. wrote:

TIA!
Phy

Great! Looks like that works fine. I haven’t used the file-tail gem,
just remember having seen it somewhere a while ago, so I can’t give you
much feedback on it. You mention making the code ‘thread-able’…what do
you mean exactly?

Gustav