mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 23:53:26 +02:00
update the private mutex node variable to standard
This commit is contained in:
parent
d389dc6e3a
commit
94b6bfccf6
2 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ Node::Node(sockaddr* publicSocket, sockaddr* localSocket, char type, uint16_t no
|
|||
_localSocket = NULL;
|
||||
}
|
||||
|
||||
pthread_mutex_init(&mutex, 0);
|
||||
pthread_mutex_init(&_mutex, 0);
|
||||
}
|
||||
|
||||
Node::~Node() {
|
||||
|
@ -63,7 +63,7 @@ Node::~Node() {
|
|||
delete _linkedData;
|
||||
delete _bytesReceivedMovingAverage;
|
||||
|
||||
pthread_mutex_destroy(&mutex);
|
||||
pthread_mutex_destroy(&_mutex);
|
||||
}
|
||||
|
||||
// Names of Node Types
|
||||
|
|
|
@ -86,7 +86,7 @@ private:
|
|||
NodeData* _linkedData;
|
||||
bool _isAlive;
|
||||
int _pingMs;
|
||||
pthread_mutex_t mutex;
|
||||
pthread_mutex_t _mutex;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue