[fpc-devel] Multithreading wait for

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Dec 4 11:59:40 CET 2008

On 04 Dec 2008, at 11:36, Mattias Gärtner wrote:

> Zitat von Vinzent Höfler <JeLlyFish.software at gmx.net>:
>> Mattias Gaertner wrote:
>>> On Wed, 03 Dec 2008 19:41:12 +0100
>>> Vinzent Höfler <JeLlyFish.software at gmx.net> wrote:
>>> If I understand RTLEventWaitFor correct, then it waits until another
>>> thread calls RTLeventSetEvent.
>> Unless it's already signalled, then it should run right through.
> Yes, that works under Linux. But the documentation does not mention  
> it, so I'm
> not sure if this works under all platforms.

It works at least on *nix and on Windows (the behaviour on *nix  
emulates the Windows behaviour).

> Who knows if this is a documentation bug or a linux bug?

It was changed in 2.2.0: http://wiki.freepascal.org/User_Changes_2.2.0#RTLEvent_persistence


More information about the fpc-devel mailing list