cpu_worker: add worker-thread framework
This commit is contained in:
parent
874d0d0c59
commit
ed4ef3c8e7
10 changed files with 718 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue