From 862f863e0ff3e6e1880914a6bb3b2e47e8dc9bcb Mon Sep 17 00:00:00 2001 From: Eric Hanson <5846501+ericphanson@users.noreply.github.com> Date: Wed, 29 May 2024 12:49:12 +0200 Subject: [PATCH] [backport] v1.11: mark Lockable as `public` and update NEWS.md for Lockable not being exported (again) (#54612) --------- Co-authored-by: Fredrik Ekre --- NEWS.md | 2 +- base/exports.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 1279f46df609e..adccd7b825a13 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 --------------------- diff --git a/base/exports.jl b/base/exports.jl index 152831dc6043a..63e5b43216cca 100644 --- a/base/exports.jl +++ b/base/exports.jl @@ -1090,6 +1090,7 @@ public Fix2, Generator, ImmutableDict, + Lockable, OneTo, LogRange, AnnotatedString,