update the private mutex node variable to standard

This commit is contained in:
Stephen Birarda 2013-07-15 15:17:53 -07:00
parent d389dc6e3a
commit 94b6bfccf6
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -86,7 +86,7 @@ private:
NodeData* _linkedData;
bool _isAlive;
int _pingMs;
pthread_mutex_t mutex;
pthread_mutex_t _mutex;
};