Sign in
plan9port
/
plan9
/
8db40354c5ded13fac5974de4f7cc1b7f0087d67
/
.
/
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
);
}