—
spawn(computeOneConcern, params1);
spawn(computeAnotherConcern, params2);
spawn(makeNetworkRequest);
...
waitAllDone();
...
getUseOfResults();
Message permanent page
— Do you mean, transpiled / without transpiling?
— It doesnt matter, the problem happens only when concerns meet
— I have never seen packed before
— I don't understand the meaning
— Async is mostly parallel too
— Sleep function depends on time, time is a single concern, see
— So if the data/concern is the same, it will be a race condition
— There are debuggers for threads too
— It doesn't matter if the code has race conditions or not