I can't seem to find the declaration of _threadid. It's supposed to be in stddef.h
Or am I wrong?
http://docwiki.embarcadero.com/RADStudio/en/Threadid
http://digitalmars.com/rtl/stddef.html
It's referenced in this example program:
http://msdn.microsoft.com/en-us/library/kdzttdcb(v=vs.80).aspx
/Magnus
Well, _threadid() is not a standard C function. It appears to be a common extension (judging by your links), but I have never encountered it myself before. I will add it to the 'wish-list', and do some research...