docs.rs failed to build dispatch-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
dispatch-0.2.0
Rust wrapper for Apple's Grand Central Dispatch (GCD).
GCD is an implementation of task parallelism that allows tasks tasks to be submitted to queues where they are scheduled to execute.
For more information, see Apple's Grand Central Dispatch reference.
Serial Queues
Serial queues execute tasks serially in FIFO order. The application's main
queue is serial and can be accessed through the Queue::main
function.
use ;
let queue = create;
queue.async;
queue.async;
Concurrent Queues
Concurrent dispatch queues execute tasks concurrently. GCD provides global
concurrent queues that can be accessed through the Queue::global
function.
Queue
has two methods that can simplify processing data in parallel, apply
and map
:
use ;
let queue = global;
let mut nums = vec!;
queue.apply;
assert!;
let nums = queue.map;
assert!;