Remove mutex

main
Hammy 3 years ago
parent 1b500a4dfd
commit dfbc0a0d07

@ -21,7 +21,6 @@ typedef struct list {
int *_array; int *_array;
int _currentSize; int _currentSize;
int _maxSize; int _maxSize;
pthread_mutex_t simpleMutex;
} List; } List;
int errorCodes[ERRNO_SIZE] = { int errorCodes[ERRNO_SIZE] = {
@ -37,7 +36,6 @@ List *List_new() {
if (!list) { if (!list) {
return NULL; return NULL;
} }
pthread_mutex_init(&list->simpleMutex, NULL);
return list; return list;
} }

Loading…
Cancel
Save