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

perl Tk thread help

by ghosh123 (Monk)
on Aug 19, 2013 at 15:00 UTC ( #1050043=perlquestion: print w/replies, xml ) Need Help??
ghosh123 has asked for the wisdom of the Perl Monks concerning the following question:

Can anybody please show me any perl Tk implementation with threads? An example which is demonstrating how using threads in making a gui application using perl tk can cause a better performance than not using threads.

Another question, suppose I have a Tk gui which is not implemented by thread. Can running it on multi-threaded perl version or single-threaded perl version make any difference in its performance even though the implementation of the gui is not using threads. For example if I am running that on 5.10 version which has this when I do perl -V :
archname=i686-linux-thread-multi and these: useithreads=define, usemultiplicity=define
and 5.8.8 which has this :
archname=i686-linux and these:usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
Can there be any difference in performance running on this different perl versions ?

Replies are listed 'Best First'.
Re: perl Tk thread help
by BrowserUk (Pope) on Aug 19, 2013 at 15:04 UTC

    See Re: Tk, threads, and mjpeg stream.

    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.
Re: perl Tk thread help
by Anonymous Monk on Aug 20, 2013 at 07:42 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1050043]
Approved by BrowserUk
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2017-08-20 04:51 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (313 votes). Check out past polls.