[fpc-devel] syncobjs unit

Michael Van Canneyt michael at freepascal.org
Mon Nov 27 11:18:28 CET 2006

On Sun, 26 Nov 2006, C Western wrote:

> Does the syncobjs unit in the FCL need to be machine dependent any more? The
> functionality seems to be in the thread manager for all the platforms that
> have threads, and I had some problems using the unit. (TRTLCriticalSection is
> defined in sybcobjs and as part of the system thread stuff). The attached
> patch shows what I had in mind - delete all the syncobjs.pp files in the
> platform directories.

Does the patch work for you ? If so, I'll apply it to FCL. It was planned to
do something similar, since when syncobjs was implemented, the TThreadManager
did not yet exist. Now that it does exist, syncobjs can be implemented on top
of it.


More information about the fpc-devel mailing list