Subj : CVS commit src/sbbs3/main To : Frank Reid From : Digital Man Date : Sat Sep 17 2005 11:00 pm Re: CVS commit src/sbbs3/main By: Frank Reid to Digital Man on Sat Sep 17 2005 08:58 pm > Re: CVS commit src/sbbs3/main > By: Digital Man to Frank Reid on Sat Sep 17 2005 16:44:00 > > > Weird. It works on Linux, where pthread_self returns a pthread_t and pthr > > is defined as an "unsigned long int" (in /usr/include/bits/pthreadtypes.h > > you know what pthread_t is typed-to/defined-as on FreeBSD? > > The _pthreadtypes.h is: > > typedef struct pthread *pthread_t; Oh... it's a struct pthread pointers.... weird. That's FreeBSD's idea of a thread ID? Oh well, a typecast to ulong should fix that. digital man Snapple "Real Fact" #77: No piece of paper can be folded more than 7 times. .