Skip to content

Make TypeHelper class thread safe#64

Merged
qiwzhang merged 2 commits intogrpc-ecosystem:masterfrom
qiwzhang:protect-type-helper
Nov 4, 2021
Merged

Make TypeHelper class thread safe#64
qiwzhang merged 2 commits intogrpc-ecosystem:masterfrom
qiwzhang:protect-type-helper

Conversation

@qiwzhang
Copy link
Copy Markdown
Member

@qiwzhang qiwzhang commented Nov 4, 2021

google::protobuf::type_info class is not thread safe as it is stated in the code

This change adds a mutex to protect it and to make TypeHelper class as thread safe

Signed-off-by: Wayne Zhang <qiwzhang@google.com>
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
@google-oss-robot
Copy link
Copy Markdown
Collaborator

@TAOXUY: changing LGTM is restricted to collaborators

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@google-oss-robot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiwzhang, TAOXUY

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@qiwzhang qiwzhang merged commit 6acdde9 into grpc-ecosystem:master Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants