[fpc-pascal] Correct way for using TThread.ForceQueue?

Michael Van Canneyt michael at freepascal.org
Mon Apr 25 16:58:26 CEST 2022



On Mon, 25 Apr 2022, Thomas Kurz via fpc-pascal wrote:

> This is a very elegant solution but it can only be used for Synchronize,
> right?  Because with ForceQueue I cannot know when it's done and freeing
> within Run (i.e.  "Self.Free") would fail.

Why would this fail according to you ?

I have used this approach on multiple occasions.

Michael.


More information about the fpc-pascal mailing list