- or download this
use warnings;
use Inline C => Config =>
...
EOC
demo(2);
- or download this
In demo: creating thread 0
In demo: creating thread 1
thread 0: calling malloc
thread 1: calling malloc
- 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