[fpc-devel]criticalsection

Florian Klaempfl Florian.Klaempfl at gmx.de
Wed Jan 17 00:13:52 CET 2001


At 18:11 14.01.01 +0300, you wrote:
>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.
>

I tried already to port some thread library from djgpp to fpc
but it didn't work :(





More information about the fpc-devel mailing list