tracking-allocator icon indicating copy to clipboard operation
tracking-allocator copied to clipboard

Uses eprintln! instead of println in examples folder in order to avoid deadlocks

Open NicolasVidal opened this issue 3 years ago • 0 comments

If the first println! is called in tracking section before any other allocation, it will cause a deadlock. see this issue.

eprintln! doesn't seem to be line buffered and won't cause deadlocks.

NicolasVidal avatar Apr 17 '23 16:04 NicolasVidal