JuliaSIMD / ThreadingUtilities.jl

Utilities for low overhead threading in Julia.
MIT License
17 stars 4 forks source link

Add option to put all tasks to sleep #38

Closed chriselrod closed 2 years ago

chriselrod commented 2 years ago

This implements a breaking change. It is now the called functions responsibility to set the state pointer to SPIN once it is done running.

codecov[bot] commented 2 years ago

Codecov Report

Merging #38 (39f2932) into master (dfdcc02) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #38   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          122       128    +6     
=========================================
+ Hits           122       128    +6     
Impacted Files Coverage Δ
src/ThreadingUtilities.jl 100.00% <100.00%> (ø)
src/threadtasks.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dfdcc02...39f2932. Read the comment docs.

chriselrod commented 2 years ago

Two failures remain:

  1. MacOS nightly getting wrong answers
  2. Windows allocating, except for 32 bit nightly Julia