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