Package apple.metal.protocol
Interface MTLSharedEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMTLSharedEvent.Block_notifyListenerAtValueBlock
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MTLSharedEventHandlenewSharedEventHandle()Convenience method for creating a shared event handle that may be passed to other processes via XPC.voidnotifyListenerAtValueBlock(MTLSharedEventListener listener, long value, MTLSharedEvent.Block_notifyListenerAtValueBlock block)When the event's signaled value reaches value or higher, invoke the block on the dispatch queue owned by the listener.voidsetSignaledValue(long value)Read or set signaled valuelongsignaledValue()Read or set signaled value
-
-
-
Method Detail
-
newSharedEventHandle
MTLSharedEventHandle newSharedEventHandle()
Convenience method for creating a shared event handle that may be passed to other processes via XPC.
-
notifyListenerAtValueBlock
void notifyListenerAtValueBlock(MTLSharedEventListener listener, long value, MTLSharedEvent.Block_notifyListenerAtValueBlock block)
When the event's signaled value reaches value or higher, invoke the block on the dispatch queue owned by the listener.
-
setSignaledValue
void setSignaledValue(long value)
Read or set signaled value
-
signaledValue
long signaledValue()
Read or set signaled value
-
-