autocommit 2022-04-05 21:08:07 CEST
This commit is contained in:
parent
a3e9f21fc5
commit
1d33088dba
27 changed files with 982 additions and 699 deletions
|
|
@ -1,3 +1,4 @@
|
|||
use crate::utils::clonecell::UnsafeCellCloneSafe;
|
||||
use crate::utils::copyhashmap::CopyHashMap;
|
||||
use crate::utils::numcell::NumCell;
|
||||
use std::cell::{Cell, RefCell};
|
||||
|
|
@ -43,6 +44,8 @@ struct Entry {
|
|||
dispatcher: Rc<dyn EventLoopDispatcher>,
|
||||
}
|
||||
|
||||
unsafe impl UnsafeCellCloneSafe for Entry {}
|
||||
|
||||
pub struct EventLoop {
|
||||
destroyed: Cell<bool>,
|
||||
epoll: OwnedFd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue