[fpc-devel]TThread hara-kiri

Peter Vreman peter at freepascal.org
Thu Nov 13 18:25:49 CET 2003


>> Please no more clone() :-)
>
> BeginThread uses pthread_create :-)
> Btw -- shouldn't tthread.inc then be moved to inc/ instead of {sys}/? It
> would probably be platform-independent itself if using BeginThread.
>

Ofcourse. That is the whole point of making tthread.inc dependent on
SysThrds. The SysThrds unit is the platform independent layer for all
basic multithreading operations. In the end tthread.inc can be moved to
the objpas/classes directory together with all the other .inc files of the
Classes unit.






More information about the fpc-devel mailing list