Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Running subs ,,in background''

by Moriarty (Abbot)
on Nov 24, 2005 at 00:04 UTC ( #511282=note: print w/ replies, xml ) Need Help??


in reply to Running subs ,,in background''

I don't know anything about threads or forks, but I was curious as to why you would have more than one drawing thread. I would have thought that you would have a single drawing thread that sleeps for a minute at a time, waking up only to redraw the graph based on information that the main program had collected, then go back to sleep again.


Comment on Re: Running subs ,,in background''
Re^2: Running subs ,,in background''
by lRem (Scribe) on Nov 24, 2005 at 08:17 UTC
    Because it doesn't draw just one graph of the data. In fact, it draws 35 graphs, but some of them are refreshed realy rarely. I could make it one thread taking a lot of communication, but I wanted to keep the source simple.
    --
    Someday, people who know how to use computers will rule over those who don't. And there will be a special name for them: secretaries. -Dilbert quote

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2014-07-22 13:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (113 votes), past polls