On 18 Nov 2012, at 14:24, Ewald wrote: > Right, I fixed this issue by adding a very simple type declaration at > the top of the unit: > > Type > > TThreadID = System.TThreadID; > > > That I didn't think of this before... It seems that the pthreads unit redefines the tthreadid type. That one should probably be removed. Jonas