On Sun, 16 Jul 2006, Andreas Berger wrote:
In order to implement threading in DOS I will need to use some type of mutex, but would like to implement it the FPC way.
There is no "FPC way" :-)
Does FPC implement platform independent mutexes and/or semaphores? Or must each platform use it's own OS specific versions?
Each platform currently uses it's own OS specific version. For FPC, it should be enough to implement RTLCiticalSection support, using the thread manager. The Syncobjs unit in the FCL uses that to implement classes which can be used as a mutex. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal