[fpc-pascal] notify and notigyall

Vinzent Hoefler JeLlyFish.software at gmx.net
Fri Aug 24 07:55:31 CEST 2007


On Thursday 23 August 2007 19:47, Jonas Maebe wrote:
> On 23 Aug 2007, at 21:29, Luca Olivetti wrote:
> > How are these different to the TEventObject,TSimpleEvent classes in
> > syncobjs? Just curious, since I usually do with syncobjs, and I
> > don't see a big difference between MyEvent.SetEvent/MyEvent.WaitFor
> > and RTLEventSetEvent/RTLEventWaitFor
>
> If you look at the source of syncobjs, you'll notice teventobject is
> just an OO coat for tbasicrtlevent.

Last time I looked this is only true for Win32, the Unix version seems 
to be very different and is implemented with semaphores. Is there a 
reason why those routines are not simply based POSIX condition 
variables?


Vinzent.




More information about the fpc-pascal mailing list