[fpc-devel] Issue with Critical sections
Luca Olivetti
luca at ventoso.org
Wed Apr 4 17:37:47 CEST 2007
En/na Sergei Gorelkin ha escrit:
> The code I was compiling was already cross-platform (Delphi/Kylix),
> and 'uses Windows' was wrapped by {$IFDEF MSWINDOWS}. In Kylix,
> InitializeCriticalSection and DeleteCriticalSection are implemented in
> SysUtils unit, so any code using these functions continue to work
> under Linux. It was surprise for me that this code could not compile
> with FPC.
Any reason why not to use syncobjs? (I'm just curious, since that's the
unit I used when I needed critical sections).
Bye
--
Luca
A: Because it destroys the flow of the conversation
Q: Why is it bad?
A: No, it's bad.
Q: Should I top post in replies to mailing lists?
More information about the fpc-devel
mailing list