From dfbc0a0d07e5f05f7f8143f2c7744d22735d90ea Mon Sep 17 00:00:00 2001 From: Hammy Date: Sun, 26 Dec 2021 03:01:56 +0000 Subject: [PATCH] Remove mutex --- src/list.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/list.c b/src/list.c index 75b546b..fcf872d 100644 --- a/src/list.c +++ b/src/list.c @@ -21,7 +21,6 @@ typedef struct list { int *_array; int _currentSize; int _maxSize; - pthread_mutex_t simpleMutex; } List; int errorCodes[ERRNO_SIZE] = { @@ -37,7 +36,6 @@ List *List_new() { if (!list) { return NULL; } - pthread_mutex_init(&list->simpleMutex, NULL); return list; }