Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Tk, LWP, and blocking?

by smackdab (Pilgrim)
on Mar 05, 2004 at 23:36 UTC ( #334410=note: print w/ replies, xml ) Need Help??


in reply to Tk, LWP, and blocking?

One more idea, not sure you would want to modify LWP (or subclass it if possible...)

You would probably need to make LWP use non-blocking sockets and also use select(). You would then have to do your own timeout loop and callback into your program to that you could call Tk::DoOneEven(ALL_EVENTS) to ensure the GUI keeps ticking

Probably not too hard if you know socket communication, but likely not simple ;-)


Comment on Re: Tk, LWP, and blocking?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-09-03 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls