Module mz_ore::thread

source ·
Expand description

Thread utilities.

Structs§

  • Wraps a JoinHandle so that the child thread is joined when the handle is dropped, rather than detached. If the child thread panics, JoinOnDropHandle will panic when dropped.
  • Wraps a JoinHandle so that the child thread is unparked (and then detached as usual) when the handle is dropped.

Traits§