protobuf-go/internal/filedesc
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
..
build_test.go types/descriptorpb: regenerate using latest protobuf v22.0 release 2023-02-22 09:33:03 +00:00
build.go all: remove duplicate imports 2022-05-23 17:24:26 +00:00
desc_init.go internal/filedesc: make descriptor initialization goroutine-safe 2024-03-04 08:49:27 +00:00
desc_lazy.go internal/filedesc: make descriptor initialization goroutine-safe 2024-03-04 08:49:27 +00:00
desc_list_gen.go
desc_list.go all: remove duplicate imports 2022-05-23 17:24:26 +00:00
desc_test.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
desc.go internal/filedesc: align editions and non-editions HasPresence() 2024-02-27 10:26:08 +00:00
editions.go internal/filedesc: implement runtime editions support 2024-02-13 12:20:49 +00:00
placeholder.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00