Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 musing on the Monastery: (7)
As of 2015-07-03 22:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls