GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup scaffolds
[mirrors/Programs.git]
/
c
/
pthread_extra
/
test_pause.c
diff --git
a/c/pthread_extra/test_pause.c
b/c/pthread_extra/test_pause.c
index 467328940c87c786f61b024436de2506a4fa8dc6..f17be8a3de72c378780be4903f8e7ea8be9eb2b1 100644
(file)
--- a/
c/pthread_extra/test_pause.c
+++ b/
c/pthread_extra/test_pause.c
@@
-20,8
+20,8
@@
int main() {
pthread_t a, b;
pthread_pause_enable(); //Will get inherited by all threads from now on
//That way you can be sure it is pausable immediately
pthread_t a, b;
pthread_pause_enable(); //Will get inherited by all threads from now on
//That way you can be sure it is pausable immediately
- pthread_create(&a, NULL, thread_test, " A");
- pthread_create(&b, NULL, thread_test, " B");
+ pthread_
extra_
create(&a, NULL, thread_test, " A");
+ pthread_
extra_
create(&b, NULL, thread_test, " B");
//sleep(1);
//printf("OK\n");
//sleep(1);
//printf("OK\n");
This page took
0.115146 seconds
and
4
git commands to generate.