Skip to main content

ack_pair

Function ack_pair 

Source
pub fn ack_pair() -> (AckWaiter, Ack)
Expand description

Create a linked AckWaiter / Ack barrier pair: the UI thread keeps the waiter, the render thread receives the ack (inside the command). Used by RenderSender::pause/RenderSender::destroy_surface; exposed directly for shells building lifecycle commands by hand.