Skip to content

Commit 7fe2b02

Browse files
Update task.jl
1 parent 95f1f0e commit 7fe2b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/task.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ function wait()
11821182
if isassigned(Workqueue_sched_times)
11831183
ts = Workqueue_sched_times[]
11841184
if tid <= length(ts) # TODO: Grow Workqueue_sched_times if needed, but needs to be threadsafe
1185-
Workqueue_sched_times[][tid] += t
1185+
ts[tid] += t
11861186
end
11871187
end
11881188
result = try_yieldto(ensure_rescheduled)

0 commit comments

Comments
 (0)