Skip to content

Commit a7036b9

Browse files
committed
@noinline on wake_threads
1 parent 99f703a commit a7036b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ThreadingUtilities"
22
uuid = "8290d209-cae3-49c0-8002-c8c24d57dab5"
33
authors = ["Chris Elrod <[email protected]> and contributors"]
4-
version = "0.4.3"
4+
version = "0.4.4"
55

66
[deps]
77
VectorizationBase = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"

src/threadtasks.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ end
4343

4444
# 1-based tid, pushes into task 2-nthreads()
4545
# function wake_thread!(tid::T) where {T <: Unsigned}
46-
function wake_thread!(_tid::T) where {T <: Integer}
46+
@noinline function wake_thread!(_tid::T) where {T <: Integer}
4747
tid = _tid % Int
4848
store!(taskpointer(_tid), TASK)
4949
tidp1 = tid + one(tid)

0 commit comments

Comments
 (0)