In demo: creating thread 0 In demo: creating thread 1 thread 0: calling malloc thread 1: calling malloc