Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Returning from a thread - here's the code...

by Foggy Bottoms (Monk)
on Aug 26, 2003 at 10:47 UTC ( [id://286732]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Returning from a thread - here's the code...
in thread returning from a thread ?

Hi BrowserUK,

Thanks for your explanation - this sort of details (the parens) can really kill you and I finished last week with the flu 0 just in time for a lovely 3-day week-end.
Oh well... As for the relevancy of the codem the sleep(5) was for the sake of testing and isn't in the final code. As a matter of fact I've dropped the thread use here to implement it at a higher level when integrating perl into VC++.

For the sake of this node, my purpose was to have an ongoing (neverending) thread that'd monitor the hard drive and detect whether changes occured - but this bit of code doing the monitoring blockc the rest of the code. It was then necessary to have it in a separate thread so that I could still use the GUI and do other stuff...

Thanks again for your insight and surely see you soon round another node.
  • Comment on Re: Re: Returning from a thread - here's the code...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://286732]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.