rsc | b04c42e | 2005-01-17 21:32:55 +0000 | [diff] [blame] | 1 | #include <pthread.h> |
2 | #include <unistd.h> | ||||
3 | #include <stdlib.h> | ||||
4 | #include <stdio.h> | ||||
5 | |||||
6 | int | ||||
7 | main(void) | ||||
8 | { | ||||
9 | ulong x; | ||||
10 | |||||
11 | x = (ulong)pthread_self(); | ||||
rsc | 7ca7059 | 2005-01-21 20:21:12 +0000 | [diff] [blame] | 12 | printf("%lx\n", x); |
rsc | b04c42e | 2005-01-17 21:32:55 +0000 | [diff] [blame] | 13 | if(x < 1024*1024) |
14 | exit(1); /* NOT NPTL */ | ||||
15 | exit(0); | ||||
16 | } |