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. Michael. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel