[fpc-pascal] Re: QueueUserAPC Similar Cross platform Functionality

Andrew Brunner andrew.t.brunner at gmail.com
Fri Oct 9 16:09:37 CEST 2009


After two days of research I've concluded that the best way to
implement this for cross platform support is to go with a FiFo queue
and have the individual threads transverse the list at a convenient
point during the Execute method.  It's gonna be CPU intensive compared
to a Windows Kernel call but hey... my options are limited.

If anyone has a better solution for Linux/Unix/Mac- I'm all ears.

Thanks.

On Thu, Oct 8, 2009 at 12:34 PM, Andrew Brunner
<andrew.t.brunner at gmail.com> wrote:

> Does Threading under Linux have anything like this?  Have any of you
> done anything like this under *nix?
>
> Thanks for any feedback.
>



More information about the fpc-pascal mailing list