Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Tk related -- timed event and $SIG{ALRM}

by rir (Vicar)
on Oct 17, 2002 at 18:02 UTC ( #206163=note: print w/replies, xml ) Need Help??

in reply to Tk related -- timed event and $SIG{ALRM}

Just to remove your uncertainty: a wall clock second is a common ordinary second. The warnings about the inaccuracy of alarm are due to resolution. It would be similar to you trying to time something with a digital watch that reads only to seconds. You cannot tell where you are in the current second, so your accuracy can be off by nearly a second.

Replies are listed 'Best First'.
Re: Re: Tk related -- timed event and $SIG{ALRM}
by snafu (Chaplain) on Oct 17, 2002 at 23:02 UTC
    Hmm. Ok. I did some more testing and I learned that if I wasn't doing something with the running script ie moving the mouse over the window, clicking buttons, etc then the ALRM never triggered. This was one of the reasons I associated the wallclock seconds with clock cycles associated with the application vs general clock cycles.

    _ _ _ _ _ _ _ _ _ _
    - Jim
    Insert clever comment here...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2019-06-26 16:38 GMT
Find Nodes?
    Voting Booth?
    Is there a future for codeless software?

    Results (110 votes). Check out past polls.