Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: threads and Net::OpenSSH

by zentara (Archbishop)
on Mar 21, 2012 at 20:12 UTC ( [id://960862]=note: print w/replies, xml ) Need Help??


in reply to Re^4: threads and Net::OpenSSH
in thread threads and Net::OpenSSH

Thanks for reminding me! :-)

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^6: threads and Net::OpenSSH
by BrowserUk (Patriarch) on Mar 21, 2012 at 20:24 UTC

    The "zen" in zentara shines!


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Actually, I discovered that for my purposes, what I needed was not so much "killing" a thread, as simply sending it a signal to end, which I did with Thread::Queue, with no troubles.

      Thanks for all the good info though.

        sending it a signal to end, which I did with Thread::Queue,

        Interesting. How did you arrange to read the queue and the socket at the same time?


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-23 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found