diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2022-05-24 05:51:44 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2022-05-24 08:31:31 +0200 |
| commit | b15bda2d39e708c23027264dfa1acd72deb0b59b (patch) | |
| tree | ef7676d4fcad579efbbd2f8325bf68f0e9b06a14 /src | |
| parent | 1a24c725d2c6889b68056f4804b588611271c1fd (diff) | |
Fix clash with defmt
Diffstat (limited to 'src')
| -rw-r--r-- | src/export.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/export.rs b/src/export.rs index 42f3fe2..6e1e4a6 100644 --- a/src/export.rs +++ b/src/export.rs @@ -66,7 +66,9 @@ impl Barrier { } pub fn wait(&self) { - while !self.inner.load(Ordering::Acquire) {} + while !self.inner.load(Ordering::Acquire) { + core::hint::spin_loop() + } } } |
