[fpc-devel]criticalsection
Aleksey V. Vaneev
picoder at sbis.komi.ru
Sun Jan 14 16:11:01 CET 2001
Hello,
>Currently, we're adding support for Threads and CriticalSection to
>the development branch. But for go32 this doesn't make much sense
>since it doesn't know threads.
>
>Michael.
Yes, it doesn't, but please do include it for go32. Cli and
sti is used to perform such tasks, but it's better to use same
critical section mechanism under go32 as under other systems (it will
allow more seamless porting). What is needed under go32 is lock_data()
for dummy TCriticalSection var in begincriticalsection and increment
of internal (locked) count variable.
Best regards,
Aleksey mailto:picoder at sbis.komi.ru
More information about the fpc-devel
mailing list