convert std::sync::mpsc to crossbeam_channel (#22264)
This commit is contained in:
@@ -10,6 +10,7 @@ documentation = "https://docs.rs/solana-poh"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
crossbeam-channel = "0.5"
|
||||
dlopen = "0.1.8"
|
||||
dlopen_derive = "0.1.4"
|
||||
log = "0.4.11"
|
||||
|
@@ -4,6 +4,7 @@
|
||||
//! represents an approximate amount of time since the last Entry was created.
|
||||
use {
|
||||
crate::poh::Poh,
|
||||
crossbeam_channel::{Receiver, Sender},
|
||||
dlopen::symbor::{Container, SymBorApi, Symbol},
|
||||
dlopen_derive::SymBorApi,
|
||||
log::*,
|
||||
@@ -34,10 +35,7 @@ use {
|
||||
cell::RefCell,
|
||||
cmp,
|
||||
ffi::OsStr,
|
||||
sync::{
|
||||
mpsc::{Receiver, Sender},
|
||||
Arc, Mutex, Once,
|
||||
},
|
||||
sync::{Arc, Mutex, Once},
|
||||
thread::{self, JoinHandle},
|
||||
time::Instant,
|
||||
},
|
||||
|
Reference in New Issue
Block a user