• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

rayonパッケージ


RSS
Rev. Time Author
b8b97a1 2019-06-13 02:48:05 bors[bot]

Merge #661

661: Release rayon 1.1.0 / rayon-core 1.5.0 r=nikomatsakis a=cuviper



Co-authored-by: Josh Stone <cuviper@gmail.com>
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>

3462f0b 2019-06-13 02:43:16 Niko Matsakis


add me since I fixed a typo :)

9feaac6 2019-06-13 02:42:06 Josh Stone


Update RELEASES.md

Co-Authored-By: Niko Matsakis <niko@alum.mit.edu>

06b8c61 2019-06-06 07:57:53 Josh Stone

Release rayon 1.1.0 / rayon-core 1.5.0

c9f4c8c 2019-06-06 07:00:37 Josh Stone

Add dates to past releases

49fb38a 2019-06-06 04:49:30 bors[bot]

Merge #636

636: Add the ability to customize thread spawning r=nikomatsakis a=cuviper

As an alternative to `ThreadPoolBuilder::build()` and `build_global()`,
the new `spawn()` and `spawn_global()` methods take a closure which will
be responsible for spawning the actual threads. This is called with a
`ThreadBuilder` argument that provides the thread index, name, and stack
size, with the expectation to call its `run()` method in the new thread.

The motivating use cases for this are:
- experimental WASM threading, to be externally implemented.
- scoped threads, like the new test using `scoped_tls`.

Co-authored-by: Josh Stone <cuviper@gmail.com>

249ad3f 2019-06-06 04:38:14 Josh Stone

Clear the current thread when WorkerThread drops

7c4dcd9 2019-06-06 03:34:43 Josh Stone

Add links and examples to build_scoped and spawn_handler

12afe12 2019-06-02 06:24:30 bors[bot]

Merge #660

660: docs: fix "double wording" r=cuviper a=janriemer

"to to" -> "to"

Co-authored-by: ฅ^•ﻌ•^ฅ <janriemer@users.noreply.github.com>

da6dbea 2019-06-02 05:46:09 ฅ^•ﻌ•^ฅ


docs: remove "double wording"

"to to" -> "to"

01cdeb6 2019-05-22 05:26:40 Josh Stone

Change ThreadPoolBuilder to a parameterized ThreadSpawn

4d75769 2019-05-18 05:41:05 bors[bot]

Merge #647

647: impl ParallelIterator for RangeInclusive r=nikomatsakis a=cuviper

All the grunt work is forwarded to `range::Iter`, with fixups for the
end case as needed.

Fixes #572.

Co-authored-by: Josh Stone <cuviper@gmail.com>

a6f40b3 2019-05-09 06:59:17 Josh Stone

impl ParallelIterator for RangeInclusive

All the grunt work is forwarded to `range::Iter`, with fixups for the
end case as needed.

03578b2 2019-05-09 06:57:38 Josh Stone

Add `ThreadPoolBuilder::build_scoped()`

58e109a 2019-05-09 06:57:38 Josh Stone

`global_registry()` must sync through `THE_REGISTRY_SET`

6410e79 2019-05-09 06:57:38 Josh Stone

Add the ability to customize thread spawning

As an alternative to `ThreadPoolBuilder::build()` and `build_global()`,
the new `spawn()` and `spawn_global()` methods take a closure which will
be responsible for spawning the actual threads. This is called with a
`ThreadBuilder` argument that provides the thread index, name, and stack
size, with the expectation to call its `run()` method in the new thread.

The motivating use cases for this are:
- experimental WASM threading, to be externally implemented.
- scoped threads, like the new test using `scoped_tls`.

939d3ee 2019-05-09 05:22:51 bors[bot]

Merge #656

656: Rust 1.26 and assorted cleanups r=nikomatsakis a=cuviper

In anticipation of [RFC 3](https://github.com/rayon-rs/rfcs/pull/3), giving us a policy to soon raise our minimum to Rust 1.26, I started this branch to make the conversion. After the primary motivation of upgrading crossbeam, I also looked for ways to use newer language features.

Throughout all of this, the public API should be completely unaffected.

Closes #586 for newer crossbeam, even though we're not quite at the *newest*.

Co-authored-by: Josh Stone <cuviper@gmail.com>

bcfca1b 2019-05-09 05:21:21 Josh Stone

Clean up PanicFuse for 1.26

c149e96 2019-05-09 05:16:31 Josh Stone

Merge branch 'master' into rust-1.26

021d15f 2019-05-08 03:16:44 bors[bot]

Merge #644

644: Add ParallelIterator::panic_fuse() r=nikomatsakis a=cuviper

This wraps an iterator with a fuse in case of panics, to halt all
threads as soon as possible. While we always propagate panics anyway,
that doesn't usually synchronize across threads, so iterators may end up
processing many more items before the panic is realized. With
`panic_fuse()`, a shared `AtomicBool` is checked before processing each
item, and set for any panic unwinding in its path.

Co-authored-by: Josh Stone <cuviper@gmail.com>

6c9e02e 2019-05-02 06:48:10 bors[bot]

Merge #657

657: Automatically check if README.md examples are working when running "cargo test" r=cuviper a=GuillaumeGomez

Since rustdoc nightly now provides "cfg(test)" when running on test mode, we can now use this macro on test mode only to check if README.md examples are working as expected.

Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Co-authored-by: Josh Stone <cuviper@gmail.com>

4547a27 2019-05-02 06:47:36 Josh Stone

Update the error codes for compile_fail/future_escape.rs

93ad831 2019-05-02 06:08:24 Josh Stone

Update the error code for compile_fail/scope_join_bad.rs

ded3266 2019-05-02 05:56:24 Josh Stone

Add tests of panicking collect shortfalls, like `panic_fuse()`

7d99416 2019-05-02 05:55:13 Josh Stone

Provide justification for using atomic collect counts

405b244 2019-05-02 05:55:13 Josh Stone

Remove the `CollectFolder::complete()` assertion

We can defer that to the global assertion in `Collect::complete()`,
which is where the safety is important to `Vec::set_len`.

ed518c7 2019-05-02 05:55:13 Josh Stone

Add ParallelIterator::panic_fuse()

This wraps an iterator with a fuse in case of panics, to halt all
threads as soon as possible. While we always propagate panics anyway,
that doesn't usually synchronize across threads, so iterators may end up
processing many more items before the panic is realized. With
`panic_fuse()`, a shared `AtomicBool` is checked before processing each
item, and set for any panic unwinding in its path.

d45b1f8 2019-04-29 05:20:15 Guillaume Gomez

Automatically check if README.md examples are working when running "cargo test"

f1e5933 2019-04-27 07:31:34 Josh Stone

Clippy fixes in tests

d41d29a 2019-04-27 04:49:17 Josh Stone

Disable core dumps in tests/stack_overflow_crash.rs