[fpc-pascal] What's the deal with CloseThread?
pascaldragon at googlemail.com
Wed Apr 24 14:01:51 CEST 2013
Am 24.04.2013 12:43, schrieb Marco van de Voort:
>> TThread is "just" an object oriented wrapper around the procedural
>> threading API, so it must adhere to its rules as well.
> Around the threadmanager. Not the procedural api, it never was.
Considering that all TThread implementations call BeginThread and
EndThread and none calls ThreadManager.BeginThread and
ThreadManager.EndThread directly this is not true (the only TThread
implementation that in fact calls GetThreadManager is the Unix one and
that only to call SemaphoreWait which is not exposed otherwise.
More information about the fpc-pascal