protobuf-go/internal/cmd
Damien Neil 13e7f145cc reflect/protoregistry: avoid deadlock in registration
Under some rare circumstances registration can deadlock
when lazy descriptor initialization consults the registry.

Move the call triggering the lazy init out of the critical section.

Fixes golang/protobuf#1052.

Change-Id: Ic266e06b0db99fea65e797b879ce53e5342fff95
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/204804
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2020-03-05 17:35:16 +00:00
..
generate-corpus internal/fuzz: add fuzzers for prototext and protojson packages 2019-12-20 09:02:05 +00:00
generate-protos reflect/protoregistry: avoid deadlock in registration 2020-03-05 17:35:16 +00:00
generate-types internal/cmd: print generated filename only when contents change 2020-02-21 17:59:52 +00:00
pbdump all: make error messages unstable 2019-09-07 00:39:30 +00:00