Skip to content

Commit

Permalink
[backport] v1.11: mark Lockable as public and update NEWS.md for Lo…
Browse files Browse the repository at this point in the history
…ckable not being exported (again) (#54612)


---------

Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com>
  • Loading branch information
ericphanson and fredrikekre authored May 29, 2024
1 parent 84bde3f commit 862f863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Multi-threading changes
-----------------------

* `Threads.@threads` now supports the `:greedy` scheduler, intended for non-uniform workloads ([#52096]).
* A new exported struct `Lockable{T, L<:AbstractLock}` makes it easy to bundle a resource and its lock together ([#52898]).
* A new public (but unexported) struct `Base.Lockable{T, L<:AbstractLock}` makes it easy to bundle a resource and its lock together ([#52898]).

New library functions
---------------------
Expand Down
1 change: 1 addition & 0 deletions base/exports.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,7 @@ public
Fix2,
Generator,
ImmutableDict,
Lockable,
OneTo,
LogRange,
AnnotatedString,
Expand Down

0 comments on commit 862f863

Please sign in to comment.