aboutsummaryrefslogtreecommitdiff
path: root/philo_three/src/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'philo_three/src/helper.c')
-rw-r--r--philo_three/src/helper.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/philo_three/src/helper.c b/philo_three/src/helper.c
index 3b718bc..a6e4c6e 100644
--- a/philo_three/src/helper.c
+++ b/philo_three/src/helper.c
@@ -6,19 +6,12 @@
/* By: cacharle <me@cacharle.xyz> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/01/10 13:58:26 by cacharle #+# #+# */
-/* Updated: 2021/01/10 14:24:26 by cacharle ### ########.fr */
+/* Updated: 2021/01/14 10:54:26 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#include "philo_three.h"
-void h_destroy_sem(const char *name, sem_t *sem)
-{
- if (sem != SEM_FAILED)
- sem_close(sem);
- sem_unlink(name);
-}
-
bool h_sem_create(const char *name, unsigned int value, sem_t **sem)
{
if (value == 0)