repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add support for landlock_create_ruleset (444), landlock_add_rule (445) and landlock_r...
[valgrind.git]
/
drd
/
tests
/
thrd_create.c
blob
8553fca96bea3530371aa53678ce9c15d5bd6ff4
1
#include <stdio.h>
2
#include <threads.h>
3
4
int
thread_entry
(
void
*
arg
)
5
{
6
fprintf
(
stderr
,
"Hello, world!
\n
"
);
7
return
0
;
8
}
9
10
int
main
()
11
{
12
thrd_t thr
;
13
thrd_create
(&
thr
,
thread_entry
,
NULL
);
14
thrd_join
(
thr
,
NULL
);
15
return
0
;
16
}