repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git]
/
regress
/
lib
/
libpthread
/
exit1
/
exit1.c
blob
a495fc9e9a1037b170bbe7805c194ef932a4cd61
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <pthread.h>
4
5
int
6
main
(
void
)
7
{
8
9
printf
(
"Test of pthread_exit() in main thread only.
\n
"
);
10
11
pthread_exit
(
NULL
);
12
13
printf
(
"You shouldn't see this."
);
14
exit
(
1
);
15
16
}