protobuf-go/internal
Lasse Folger fe89159266 internal/filedesc: make descriptor initialization goroutine-safe
Before this change there was a data race if you initialized the
descriptor of a message in parallel to the descriptor of any extension of
that message because the extendees feature set is read during the
initialization of the extension.

Change-Id: Id896b9fbf848209fce7dae8a7f40e2d61a3b2825
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/568695
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Stapelberg <stapelberg@google.com>
2024-03-04 08:49:27 +00:00
..
benchmarks internal/benchmarks: make download_benchdata print an error 2023-11-03 08:27:41 +00:00
cmd internal/conformance: make conformance tests work with editions 2024-02-26 08:14:29 +00:00
conformance internal/conformance: make conformance tests work with editions 2024-02-26 08:14:29 +00:00
descfmt all: avoid non-const reflect.MethodByName calls 2023-10-03 07:25:07 +00:00
descopts
detrand
editiondefaults internal/filedesc: implement runtime editions support 2024-02-13 12:20:49 +00:00
encoding encoding: add MarshalAppend to protojson and prototext 2023-05-01 15:10:15 +00:00
errors all: gofmt all 2022-01-04 22:57:54 +00:00
filedesc internal/filedesc: make descriptor initialization goroutine-safe 2024-03-04 08:49:27 +00:00
filetype all: reformat with go1.19 gofmt 2022-07-21 16:01:13 +00:00
flags all: gofmt all 2022-01-04 22:57:54 +00:00
fuzz all: implement depth limit for unmarshaling 2022-02-17 17:07:31 +00:00
fuzztest
genid internal/filedesc: implement runtime editions support 2024-02-13 12:20:49 +00:00
impl all: add more test for editions and fix some bugs in the implementation 2024-02-16 14:47:55 +00:00
msgfmt reflect: add protopath and protorange packages 2021-04-01 23:09:19 +00:00
order internal/order: fix sorting of synthetic oneofs to be deterministic 2023-05-25 07:36:46 +00:00
pragma
protobuild all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
protolegacy
set
strs reflect/protodesc: add editions support 2024-02-19 07:03:53 +00:00
testprotos internal/filedesc: make descriptor initialization goroutine-safe 2024-03-04 08:49:27 +00:00
version all: start v1.32.0-devel 2023-12-22 09:30:39 +00:00
weakdeps all: gofmt all 2022-01-04 22:57:54 +00:00