commit | 075e0741aa752994f9706c54273f29dbb9ab7f06 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Thu Feb 27 12:33:08 2020 -0800 |
committer | Damien Neil <dneil@google.com> | Thu Feb 27 20:50:32 2020 +0000 |
tree | d18741b6bf3079f93e46ec985ffa782ebb92c627 | |
parent | a786db3a49ac0ed6fdb304ce3b0045b26cbd8c67 [diff] |
internal/impl: fix non-atomic access of MessageState.mi MessageState's mi field must only be accessed via atomic operations. Rename the field to 'atomicMessageInfo' to make it incorrect access obvious. Fix one incorrect non-atomic access. Change-Id: If80343fb1b82186416f007ca5b340a4926b1cd3c Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/221419 Reviewed-by: Joe Tsai <joetsai@google.com>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.