Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: threads causing memory leak

by Proclus (Beadle)
on Sep 12, 2010 at 11:29 UTC ( [id://859832]=note: print w/replies, xml ) Need Help??


in reply to Re^3: threads causing memory leak
in thread threads causing memory leak

WxPerl Windows will probably crash too. I will test it when I have some time.

Replies are listed 'Best First'.
Re^5: threads causing memory leak
by BrowserUk (Patriarch) on Sep 12, 2010 at 14:05 UTC
    WxPerl Windows will probably crash too.

    Perhaps "bug" is too strong a term. Let's call it an "incompatibility".

    The problem as I understand it, is to with static data in XS modules on modules that were never designed to work with threads. I believe that it is impossible to correct this incompatibility from within threads.

    It requires modules like Win32::GUI, Tk (perhaps WxPerl), and many others, be modified to become compatible with threads.

    I have no experience of WxPerl, but I'd bet that the same techniques I use in Re: threads causing memory leak (No leak!) would work with it also.


    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^5: threads causing memory leak
by tsee (Curate) on Sep 13, 2010 at 14:29 UTC

    For the record, it's quite possible to use Wx with perl threads. Padre does it, for example.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-25 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found