File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # origin 0.15
1+ # origin 0.16
22
33## Changes
44
5- The ` create_thread ` API has been redesigned to allow it and users of it
6- to avoid performing dynamic allocations. Instead of taking a boxed closure,
7- it now takes a function pointer and a list of pointer arguments to pass
8- to it. See #94 for details.
5+ The functions in the ` thread ` module have been renamed to remove the
6+ redundant ` thread ` in their names. For example, ` thread::create_thread ` is
7+ now just ` thread::create ` , and so on.
98
10- The default stack size has been increased, as several use cases were bumping
11- up against the limit. See #91 for details.
9+ The ` thread::id ` function (formerly ` thread::thread_id ` ), now returns an
10+ ` Option ` , to allow it to indicate that the thread has exited, in which case
11+ it no longer has an ID.
1212
13- Thread and process destructor lists now use the ` smallvec ` crate to avoid
14- allocating. See # 93 for details .
13+ Origin now supports linking with code compiled with stack protection features,
14+ such as ` -fstack-protector ` .
You can’t perform that action at this time.
0 commit comments