| Modifier and Type | Interface and Description |
|---|---|
static interface |
MTLSharedEvent.Block_notifyListenerAtValueBlock |
| Modifier and Type | Method and Description |
|---|---|
MTLSharedEventHandle |
newSharedEventHandle()
Convenience method for creating a shared event handle that may be passed to other processes via XPC.
|
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.
|
void |
setSignaledValue(long value)
Read or set signaled value
|
long |
signaledValue()
Read or set signaled value
|
MTLSharedEventHandle newSharedEventHandle()
void notifyListenerAtValueBlock(MTLSharedEventListener listener, long value, MTLSharedEvent.Block_notifyListenerAtValueBlock block)
void setSignaledValue(long value)
long signaledValue()