GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d0c03bf
)
Fix filename
author
Tomas Mudrunka
<tomas@mudrunka.cz>
Thu, 1 Jul 2021 09:20:29 +0000
(11:20 +0200)
committer
Tomas Mudrunka
<tomas@mudrunka.cz>
Thu, 1 Jul 2021 09:20:29 +0000
(11:20 +0200)
c/pthread_pause.c
patch
|
blob
|
blame
|
history
diff --git
a/c/pthread_pause.c
b/c/pthread_pause.c
index 81620a5bad30145e450c49a00626bb4845752e76..7d6ed6af01a57daef4c91d417ef3eb08df15dc04 100644
(file)
--- a/
c/pthread_pause.c
+++ b/
c/pthread_pause.c
@@
-1,7
+1,7
@@
-//Filename: pause.c
+//Filename: p
thread_p
ause.c
//Author: Tomas 'Harvie' Mudrunka 2021
//Author: Tomas 'Harvie' Mudrunka 2021
-//Build: CFLAGS=-lpthread make p
ause; ./
pause
-//Test: valgrind --tool=helgrind ./pause
+//Build: CFLAGS=-lpthread make p
thread_pause; ./pthread_
pause
+//Test: valgrind --tool=helgrind ./p
thread_p
ause
//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
//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
This page took
0.159063 seconds
and
4
git commands to generate.