dorentus/mruby-dispatch

TODO

dorentus opened this issue · 0 comments

Ref: http://www.rubymotion.com/developer-center/api/Dispatch.html

  • Dispatch
    • ::TIME_NOW
    • ::TIME_FOREVER (mrb_fixnum_value(DISPATCH_TIME_FOREVER) integer precision loss, might not work as expected, will check later)
    • .once
  • Dispatch::Object
    • #resume!
    • #suspend!
    • #dispatch_object
    • #suspended?
  • Dispatch::Queue
    • .concurrent
    • .current (warning: dispatch_get_current_queue deprecated in OS X 10.9)
    • .main
    • #initialize
    • #after
    • #apply
    • #async without group
    • #async with group
    • sync
    • #barrier_async __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_4_3)
    • #barrier_sync __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_4_3)
    • #to_s
  • Dispatch::Group
    • #initialize
    • #notify
    • #wait
  • Dispatch::Semaphore
    • #initialize
    • #signal
    • #wait
  • Dispatch::Source
    • ???