Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: JuliaLang/julia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 89e19a9c8c24e208fb01b3bfd39f6b11c4655444
Choose a base ref
..
head repository: JuliaLang/julia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2c6b3faf0856dedb1d39c08e05201ed91b1f0861
Choose a head ref
Showing with 1 addition and 0 deletions.
  1. +1 −0 base/condition.jl
1 change: 1 addition & 0 deletions base/condition.jl
Original file line number Diff line number Diff line change
@@ -79,6 +79,7 @@ lock(f, c::GenericCondition) = lock(f, c.lock)

# have waiter wait for c
function _wait2(c::GenericCondition, waiter::Task)
ct = current_task()
assert_havelock(c)
push!(c.waitq, waiter)
# since _wait2 is similar to schedule, we should observe the sticky bit now