Merge pull request #1572 from whitequark/bdma-blocking_wait-stop
BDMA: request stop after busy loop in blocking_wait()
This commit is contained in:
		| @@ -323,6 +323,7 @@ impl<'a, C: Channel> Transfer<'a, C> { | ||||
|  | ||||
|     pub fn blocking_wait(mut self) { | ||||
|         while self.is_running() {} | ||||
|         self.request_stop(); | ||||
|  | ||||
|         // "Subsequent reads and writes cannot be moved ahead of preceding reads." | ||||
|         fence(Ordering::SeqCst); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user