Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue is for dispatch_queue_t
func GetGlobalQueue ¶ added in v0.14.4
func GetGlobalQueue(identifier QueuePriority, flags uintptr) Queue
func GetMainQueue ¶
func GetMainQueue() Queue
func (Queue) DispatchAsync ¶
func (q Queue) DispatchAsync(task func())
func (Queue) DispatchSync ¶
func (q Queue) DispatchSync(task func())
type QueuePriority ¶ added in v0.14.4
type QueuePriority int
const ( QueuePriorityDefault QueuePriority = 0 QueuePriorityHigh QueuePriority = 2 QueuePriorityLow QueuePriority = -2 QueuePriorityBackground QueuePriority = math.MinInt16 )
Click to show internal directories.
Click to hide internal directories.