Skip to content

Commit

Permalink
Compat annotation for #29623 (Event).
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Nov 30, 2018
1 parent 28deee4 commit 2a59a31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/locks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ Create a level-triggered event source. Tasks that call [`wait`](@ref) on an
`Event` are suspended and queued until `notify` is called on the `Event`.
After `notify` is called, the `Event` remains in a signaled state and
tasks will no longer block when waiting for it.
!!! compat "Julia 1.1"
This functionality requires at least Julia 1.1.
"""
mutable struct Event
lock::Mutex
Expand Down

0 comments on commit 2a59a31

Please sign in to comment.