Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor correction to mutexes

  • Loading branch information...
commit 1336f7744739168af51f29847ea0e91e12da1ffa 1 parent df30436
@zoukai957 zoukai957 authored
Showing with 4 additions and 0 deletions.
  1. +3 −0  MembershipList.c
  2. +1 −0  MembershipList.h
View
3  MembershipList.c
@@ -2,6 +2,9 @@
//may call these functions and there is a mutex lock called membershipListMutex
//that locks down the membershipList when it is in use
+//NOTE membershipList MUTEX (already exist in header file MUST BE INITITIALIZED
+//IN MAIN B4 USE OF ANY OF THESE FUNCTIONS!!!
+
#include "MembershipList.h"
View
1  MembershipList.h
@@ -7,6 +7,7 @@
//global variables
pthread_mutex_t membershipListMutex; //Mutex for when membershipList is accessed
+ //MUTEX MUST BE INITIALIZED IN MAIN B4 USE!!!
/**Node structure in linklist that holds each member of the membership
* list**/
Please sign in to comment.
Something went wrong with that request. Please try again.