On Friday 13 May 2011 00:00:28 Amit Kulkarni wrote: > It seems FreeBSD is also affected like OpenBSD about the thread id > issue discussed a month before in this thread. I am cc'ing matthew@ > just to keep him in the loop. > http://lists.cs.uiuc.edu/pipermail/lldb-dev/2011-April/000444.html
Check out this code from FreeBSD's OpenJDK6 port: #if __FreeBSD_version > 900030 return pthread_getthreadid_np(); #else long tid; thr_self(&tid); return (pid_t)tid; #endif The underlying type of a tid (lwpid_t in kernel) is an int. -- Pieter de Goeje _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"