Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

[Win32] pthreads and memory allocation

by syphilis (Archbishop)
on Nov 22, 2011 at 02:50 UTC ( [id://939358]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use Inline C => Config =>
    ...
    EOC
    
    demo(2);
    
  2. or download this
    In demo: creating thread 0
    In demo: creating thread 1
    thread 0: calling malloc
    thread 1: calling malloc
    
  3. or download this
    In demo: creating thread 0
    In demo: creating thread 1
    ...
    thread 0:  malloc called
    thread 1: calling malloc
    thread 1:  malloc called
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-20 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found