async.monkey2 416 B

1234567891011121314151617181920212223242526
  1. Namespace std.async
  2. #import "native/async.cpp"
  3. #import "native/async.h"
  4. #If __TARGET__="raspbian" Or __TARGET__="linux"
  5. #Import "<libpthread.a>" 'WTH? Didn't used to need this!
  6. #Endif
  7. Extern
  8. #rem monkeydoc @hidden
  9. Internal struct used to deliver events from remote threads.
  10. Probably best to just forget you even saw this...
  11. #end
  12. Struct AsyncEvent="bbAsync::Event"
  13. Method Dispatch()="dispatch"
  14. End
  15. Public