HomePhabricator

refactor: Use Mutex type for some mutexes in CNode class

Description

refactor: Use Mutex type for some mutexes in CNode class

Summary:
No need the RecursiveMutex type for the CNode::cs_vSend, CNode::cs_hSocket and CNode::cs_vRecv.

This is a backport of core#19915

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D9450

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Apr 27 2021, 17:33
PiRKCommitted on Apr 27 2021, 17:33
abc-botPushed on Apr 27 2021, 17:38
Reviewer
Restricted Project
Differential Revision
D9450: refactor: Use Mutex type for some mutexes in CNode class
Parents
rABC19cb47be44e1: refactor: Replace RecursiveMutex with Mutex in rpc/server.cpp
Branches
Unknown
Tags
Unknown