3 ms·
This is great until someone calls you through with a multi-threaded task runner and you've just gone and added consistency and race conditions to your code.
by cmrdporcupine 3y ago
This is great until someone calls you through with a multi-threaded task runner and you've just gone and added consistency and race conditions to your code.
- pkolaczk 3y agoBut this approach already works with multithreaded runner and there are no data races or consistency problems. They would be caught by rust borrow checker anyways.