diff --git a/src/core/eventloop.rs b/src/core/eventloop.rs index d868bef..6d923c7 100644 --- a/src/core/eventloop.rs +++ b/src/core/eventloop.rs @@ -6,9 +6,12 @@ use mio::unix::pipe; use mio::{Events, Interest, Poll, Token}; use slab::Slab; use std::io::Write; +use std::sync::atomic::AtomicU64; use std::sync::Arc; use std::thread::{self, JoinHandle}; +pub static FRAME: AtomicU64 = AtomicU64::new(0); + pub struct EventLoop { pub socket_path: String, join_handle: Option>>,