0001    //
0002    //  DispatchObject.swift
0003    //  DispatchKit <https://github.com/anpol/DispatchKit>
0004    //
0005    //  Copyright (c) 2014 Andrei Polushin. All rights reserved.
0006    //
0007    
0008    import Foundation
0009    
0010    public protocol DispatchObject
DispatchData.swift:10
public struct DispatchData<T: IntegerType>: DispatchObject {
DispatchGroup.swift:10
public struct DispatchGroup: DispatchObject, DispatchEnterable, DispatchWaitable {
DispatchIO.swift:10
public struct DispatchIO: DispatchObject {
DispatchObjectContext.swift:28
public extension DispatchObject {
DispatchQueue.swift:10
public struct DispatchQueue : DispatchObject, DispatchResumable {
DispatchSemaphore.swift:10
public struct DispatchSemaphore: DispatchObject, DispatchWaitable {
DispatchSource.swift:10
public struct DispatchSource: DispatchObject, DispatchResumable, DispatchCancelable {
: RawRepresentable { 0011 typealias RawValue
DispatchObject.swift:12
    var rawValue: RawValue { get }
: dispatch_object_t 0012 var rawValue
DispatchObjectContext.swift:30
        let context = dispatch_get_context(rawValue)
DispatchObjectContext.swift:35
        dispatch_set_context(rawValue, dk_passRetained(context))
DispatchObjectContext.swift:36
        dispatch_set_finalizer_f(rawValue, dk_release)
: RawValue { get } 0013 } 0014 0015 public protocol DispatchResumable
DispatchQueue.swift:10
public struct DispatchQueue : DispatchObject, DispatchResumable {
DispatchSource.swift:10
public struct DispatchSource: DispatchObject, DispatchResumable, DispatchCancelable {
{ 0016 func suspend() 0017 func resume() 0018 } 0019 0020 public protocol DispatchEnterable
DispatchGroup.swift:10
public struct DispatchGroup: DispatchObject, DispatchEnterable, DispatchWaitable {
{ 0021 func enter() 0022 func leave() 0023 } 0024 0025 public protocol DispatchWaitable
DispatchGroup.swift:10
public struct DispatchGroup: DispatchObject, DispatchEnterable, DispatchWaitable {
DispatchSemaphore.swift:10
public struct DispatchSemaphore: DispatchObject, DispatchWaitable {
{ 0026 func wait(timeout: DispatchTime) -> Int 0027 } 0028 0029 public protocol DispatchCancelable
DispatchSource.swift:10
public struct DispatchSource: DispatchObject, DispatchResumable, DispatchCancelable {
{ 0030 func cancel() 0031 func testCancel() -> Bool 0032 } 0033