#thread #spawn #scoped #drop #join

spawner

Tiny wrapper for thread::spawn which optionally auto-joins threads on drop

4 releases (2 breaking)

Uses old Rust 2015

0.3.2 Jan 20, 2017
0.3.1 Dec 1, 2015
0.3.0 Dec 1, 2015
0.2.0 Sep 2, 2015
0.1.0 Aug 12, 2015

#484 in Operating systems

MIT license

5KB
83 lines

Spawner

Travis CI

A tiny crate providing a wrapper for thread::spawn that can optionally auto-join threads when it goes out of scoped.

It's the less useful half of thread::scoped (the more useful half being support for non-move closures).


lib.rs:

Small wrapper for thread::spawn that optionally auto-joins threads

No runtime deps

Features