Skip to content

0.6.4

Compare
Choose a tag to compare
@matsadler matsadler released this 09 May 05:34
· 1 commit to 0.6 since this release

Magnus 0.6.4 is a patch release, with 1 fix.

Lazy could deadlock when called for the first time from multiple threads simultaneously.

The fix for results in a slight change in expected behaviour. If multiple threads attempt first access at the same time the func given to Lazy::new may be called more than once, but all threads will receive the same value.

Thanks to @choubacha for reporting this issue, along with an excellent repro.