On Fri, 24 Aug 2007, Vinzent Hoefler wrote:
> 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? Yes: a single source base. All 'basic' threading routines are in the system unit, all the rest is based on that. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal