rust-dispatch icon indicating copy to clipboard operation
rust-dispatch copied to clipboard

Rust wrapper for Apple's Grand Central Dispatch.

Results 11 rust-dispatch issues
Sort by recently updated
recently updated
newest added

This pull request adds `as_raw()` methods to the `Queue`, `Group` and `Semaphore` structures to allow to use the crate in bindings when the raw pointers are needed (e.g. IONotificationPortSetDispatchQueue or...

This crate and repo don't have the MIT license text, which is a requirement for the MIT license. - https://tldrlegal.com/license/mit-license

Would be useful if `Queue` exposed a method that returned `ptr`, for use with other FFI code.

Some rationale on interface choices: - Sources are created with a SourceBuilder so they are started with all their handlers configured, and the initial resume is called at most once....

most of block/data/io methods can works, still need integrate with `Queue` with `block`

It appears that you currently can't set the priority for the queue, and that it will just use the default priority instead. It would be great to allow for customization...

It would be nice if this library could support dispatch sources.

GCD periodic timer dispatch functionality implemented.

Currently it is UB for Rust code to unwind into FFI (except when using `extern "C-unwind"`, but I don't know if that would be safe to use within libdispatch). For...