pub struct SyncFd(/* private fields */);Expand description
A shared, reference-counted GPU-completion sync fd: an exported timeline
semaphore a producer signals when a frame’s GPU work finishes. The producer
exports it once per stream and attaches a Clone to every frame via
OwnedDmaBuf::with_sync; the fd is closed exactly once, on the last drop.
A consumer recovers it with OwnedDmaBuf::sync_fd / OwnedDmaBuf::sync.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncFd
impl RefUnwindSafe for SyncFd
impl Send for SyncFd
impl Sync for SyncFd
impl Unpin for SyncFd
impl UnsafeUnpin for SyncFd
impl UnwindSafe for SyncFd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more