1
0
Fork 0
forked from wry/wry

cpu_worker: add worker-thread framework

This commit is contained in:
Julian Orth 2024-09-07 17:18:50 +02:00
parent 874d0d0c59
commit ed4ef3c8e7
10 changed files with 718 additions and 3 deletions

View file

@ -13,6 +13,7 @@ use {
clientmem::ClientMemOffset,
compositor::LIBEI_SOCKET,
config::ConfigProxy,
cpu_worker::CpuWorker,
cursor::{Cursor, ServerCursors},
cursor_user::{CursorUserGroup, CursorUserGroupId, CursorUserGroupIds, CursorUserIds},
damage::DamageVisualizer,
@ -214,6 +215,8 @@ pub struct State {
pub enable_ei_acceptor: Cell<bool>,
pub ei_clients: EiClients,
pub slow_ei_clients: AsyncQueue<Rc<EiClient>>,
#[expect(dead_code)]
pub cpu_worker: Rc<CpuWorker>,
}
// impl Drop for State {