i'm a lazy newbie, please direct me there i can create the bug report.
thanks

also, i have found a solution for this. the CThreads unit must be the first one in the uses section (though FPCMacOSall can be earlier).
anyway this cures the error, but still I see no reason for causing such behaviour.
at first i wanted to use MPTasks, but after this error, i have to user FPC beginthread. Anyway MPTasks are based on POSIX threads (according to the Mac OS docs) as well as C threads.
As for the Events and Critical Regions, I'm using objects provided by Carbon, and everything looks nice.