[Lazarus] Cross *nix Socket Signaling Mechanism
Andrew Brunner
andrew.t.brunner at gmail.com
Mon Jan 3 15:05:03 CET 2011
On Mon, Jan 3, 2011 at 7:29 AM, Michael Schnell <mschnell at lumino.de> 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.
More information about the Lazarus
mailing list