Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2016-10-25 22:16 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.