Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

(chromatic) RE: RE: Using Alarm to Handle Timing

by chromatic (Archbishop)
on Jul 21, 2000 at 01:05 UTC ( #23487=note: print w/replies, xml ) Need Help??

in reply to RE: Using Alarm to Handle Timing
in thread Using Alarm to Handle Timing

I'd considered making a global or package variable $timeout. It would be in scope for both the initialization and the signal handler.

What I'm trying to do is manage my Jellybean objects better. Some of them need to flush their caches every few minutes while others ought to sync data to storage every now and then. Using an internal cron-like feature seems to be pretty elegant, but I don't want to segfault randomly if it's avoidable.

  • Comment on (chromatic) RE: RE: Using Alarm to Handle Timing

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-12-07 08:23 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (33 votes). Check out past polls.