plan9port/lib/linux-isnptl.c
2005-01-21 20:21:12 +00:00

16 lines
215 B
C

#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);
}