]> git.lizzy.rs Git - rust.git/commit
Fix sync_once_cell_does_not_leak_partially_constructed_boxes
authorMohsen Zohrevandi <mohsen.zohrevandi@fortanix.com>
Tue, 21 Jul 2020 18:08:37 +0000 (11:08 -0700)
committerMohsen Zohrevandi <mohsen.zohrevandi@fortanix.com>
Tue, 21 Jul 2020 18:08:37 +0000 (11:08 -0700)
commit141adeb4933bf3ffe1d4a69f51f6055765fdae86
treeeb69a32a4fec928098d5ca5c347320836afd6009
parent8ad7bc3f428300aee6764f6e23527e19eb235e81
Fix sync_once_cell_does_not_leak_partially_constructed_boxes

Spinning multiple threads in this test causes a deadlock in
SGX where thread scheduling is not preemptive.
src/libstd/lazy.rs