1
0
Fork 0
forked from wry/wry

autocommit 2022-04-05 21:08:07 CEST

This commit is contained in:
Julian Orth 2022-04-05 21:08:07 +02:00
parent a3e9f21fc5
commit 1d33088dba
27 changed files with 982 additions and 699 deletions

View file

@ -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,