Closed dustmop closed 3 years ago
Before this change, print would be dispatched asynchronously. Since go routines can start running at any time based upon what the scheduler decides, this would cause print statements to output in arbitrary orders. For example this expected output:
0: 1 1: 2 2: 3 3: 4 4: 35
would instead show up like this (as an example):
1: 2 0: 1 3: 4 4: 35 2: 3
Before this change, print would be dispatched asynchronously. Since go routines can start running at any time based upon what the scheduler decides, this would cause print statements to output in arbitrary orders. For example this expected output:
would instead show up like this (as an example):