Sign in
chromium
/
external
/
github.com
/
kripken
/
emscripten
/
HEAD
/
.
/
test
/
pthread
/
test_pthread_kill_self.c
blob: 5528ee4cd5f74486b0a97dea078951df5b3fd016 [
file
]
#include
<assert.h>
#include
<pthread.h>
#include
<signal.h>
#include
<stdbool.h>
#include
<stdio.h>
int
main
()
{
printf
(
"main\n"
);
pthread_kill
(
pthread_self
(),
SIGTERM
);
assert
(
false
&&
"should not get here"
);
}