From: Tomas Mudrunka Date: Thu, 1 Jul 2021 09:20:29 +0000 (+0200) Subject: Fix filename X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=5f138e3d34ccd5d71ca80a18ca564be1aca01f3b;p=mirrors%2FPrograms.git Fix filename --- diff --git a/c/pthread_pause.c b/c/pthread_pause.c index 81620a5..7d6ed6a 100644 --- a/c/pthread_pause.c +++ b/c/pthread_pause.c @@ -1,7 +1,7 @@ -//Filename: pause.c +//Filename: pthread_pause.c //Author: Tomas 'Harvie' Mudrunka 2021 -//Build: CFLAGS=-lpthread make pause; ./pause -//Test: valgrind --tool=helgrind ./pause +//Build: CFLAGS=-lpthread make pthread_pause; ./pthread_pause +//Test: valgrind --tool=helgrind ./pthread_pause //I've wrote this code as excercise to solve following stack overflow question: // https://stackoverflow.com/questions/9397068/how-to-pause-a-pthread-any-time-i-want/68119116#68119116