Open
Description
Reasoning:
- Better main thread support.
objc2
encoding support (allowing use in framework crates).async
support?- Optimizations (such as the null-ptr optimization, and others).
Desired name: dispatch2
, since it fits fairly well with the naming scheme (objc2
, block2
and dispatch2
would all be successors to objc
, block
and dispatch
, and would all be libraries internally, as compared to the rest of the crates we expose, which are all frameworks). I've asked for the name here, should remember to not close this issue until that repo is archived too.
Unsure how auto-generated we can feasibly be here? But the library is comparatively small compared to most frameworks, so it's probably possible to generate an initial starting point, and then refine later on.
Upstream dispatch
issues:
- Add support for dispatch sources SSheldon/rust-dispatch#4
- Add support for QOS SSheldon/rust-dispatch#7
- would you pls add a demo sample run on iOS ? SSheldon/rust-dispatch#14
- Expose Queue's underlying dispatch_queue_t SSheldon/rust-dispatch#15
- Dispatching on main queue doesn't seem to actually run on main thread. SSheldon/rust-dispatch#20
Upstream dispatch
pull requests to integrate:
- Add Dispatch sources SSheldon/rust-dispatch#6
- [WIP] support dispatch block/data/io objects SSheldon/rust-dispatch#11
- Add as_raw() methods for queues, groups and semaphores. SSheldon/rust-dispatch#17
- Implement unwind safety SSheldon/rust-dispatch#21
- Implemented GCD timer SSheldon/rust-dispatch#22
Integrate ideas from:
Other TODOs:
- Use in framework crates.
- Refactor such that we have less ugly types lying around.