aboutsummaryrefslogtreecommitdiff
path: root/lib/linux-isnptl.c
blob: e4c23c63703964293b705e2f0b202851246c7986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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);
}