Api for managing files

This commit is contained in:
elvis
2022-03-18 20:49:28 +01:00
parent 6519b16e46
commit c8a685272f
6 changed files with 66 additions and 9 deletions

View File

@ -34,7 +34,6 @@ static void *workerpool_thread(void *threadpool) {
LOCK_RETURN(&(pool->lock), NULL);
for (;;) {
// in attesa di un messaggio, controllo spurious wakeups.
while((pool->count == 0) && (!pool->exiting)) {
pthread_cond_wait(&(pool->cond), &(pool->lock));