Merge pull request #473 from EgnalZurc/patch-1

Preventing shared semaphore to be used again
This commit is contained in:
Wolfgang Hommel
2024-06-05 19:52:44 +02:00
committed by GitHub

View File

@@ -628,6 +628,7 @@ static void ft_cleanup (void)
if (shared_sem != NULL)
{
sem_close(shared_sem);
shared_sem = NULL;
}
#ifdef FAKE_PTHREAD
if (pthread_rwlock_destroy(&monotonic_conds_lock) != 0) {