Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: [Win32] pthreads and memory allocation

by ikegami (Pope)
on Nov 22, 2011 at 03:19 UTC ( #939361=note: print w/ replies, xml ) Need Help??


in reply to [Win32] pthreads and memory allocation

malloc can be one of many memory allocation system inside of XS, and it's not necessarily the same as the one pthreard was compiled with. I suspect your problems are related to that.

Write C in C, not in XS. Use XS as the glue.


Comment on Re: [Win32] pthreads and memory allocation

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2014-11-28 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (198 votes), past polls