mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 21:05:35 +01:00
rtic-time: Make Send happy
This commit is contained in:
parent
bef6c359a0
commit
2bd70baeb9
3 changed files with 26 additions and 6 deletions
|
|
@ -532,7 +532,7 @@ mod tests {
|
|||
|
||||
#[tokio::test]
|
||||
async fn stress_channel() {
|
||||
const NUM_RUNS: usize = 1_000000;
|
||||
const NUM_RUNS: usize = 1_000;
|
||||
const QUEUE_SIZE: usize = 10;
|
||||
|
||||
let (s, mut r) = make_channel!(u32, QUEUE_SIZE);
|
||||
|
|
|
|||
|
|
@ -105,8 +105,6 @@ pub struct Link<T> {
|
|||
_up: PhantomPinned,
|
||||
}
|
||||
|
||||
unsafe impl<T> Send for Link<T> {}
|
||||
|
||||
impl<T: Clone> Link<T> {
|
||||
const R: Ordering = Ordering::Relaxed;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue