Sign in
plan9port
/
plan9
/
37f8ed2410ad5cbd46eda00a77f8bf4950bcf544
/
.
/
lib
/
linux-isnptl.c
blob: e4c23c63703964293b705e2f0b202851246c7986 [
file
] [
log
] [
blame
]
#include
<pthread.h>
#include
<unistd.h>
#include
<stdlib.h>
#include
<stdio.h>
int
main
(
void
)
{
ulong x
;
x
=
(
ulong
)
pthread_self
();
printf
(
"%lx\n"
,
x
);
if
(
x
<
1024
*
1024
)
exit
(
1
);
/* NOT NPTL */
exit
(
0
);
}