Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 about the Monastery: (9)
As of 2014-12-27 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls