On Mon, Jan 3, 2011 at 7:29 AM, Michael Schnell <[email protected]> wrote: > P.S.: > > Delphi has TThread.Queue for this, Which does not seem to be implemented in > FPC (see Bug Tracker ID 0017297 by Marco) >
I'm already knee deep into a solution for Linux and my Windows implement was already tested before I started (I had the code from Delphi). I just had to create framework for methods that fit for all OSes. So in this regard the semantics of my app are already fleshed out. But APC QUEUE method was unique to windows. It is called via the thread after it cycles and awakes during execute. I found that very useful for protecting memory access from other threads. The trick would be to find the equivalent under Linux. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
