Re: [fpc-pascal] notify and notigyall

2007-08-24 Thread Jonas Maebe
On 24 Aug 2007, at 13:17, Vinzent Hoefler wrote: On Friday 24 August 2007 08:53, Jonas Maebe wrote: tbasicrtlevent for Unix is still not based on condition variables, because Windows events are persistent and condition variables are not. Call me stupid, If you insist :) but I was under

Re: [fpc-pascal] notify and notigyall

2007-08-24 Thread Vinzent Hoefler
On Friday 24 August 2007 08:53, Jonas Maebe wrote: > tbasicrtlevent for Unix is still not based on condition variables, > because Windows events are persistent and condition variables are > not. Call me stupid, but I was under the impression that this has been fixed by inserting the "IsSet" memb

Re: [fpc-pascal] notify and notigyall

2007-08-24 Thread Jonas Maebe
On 24 Aug 2007, at 10:41, Michael Van Canneyt wrote: 2) why the SyncObjs tEvent objects uses those semaphore stuff instead of the fixed RTLEvents. It's based on the Windows implementation, as far as I know ? The Windows "implementation" just aliases the standard Windows API primitives f

Re: [fpc-pascal] notify and notigyall

2007-08-24 Thread Jonas Maebe
On 24 Aug 2007, at 07:55, Vinzent Hoefler wrote: 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. Someone s

Re: [fpc-pascal] notify and notigyall

2007-08-24 Thread Michael Van Canneyt
On Fri, 24 Aug 2007, Vinzent Hoefler wrote: > On Friday 24 August 2007 07:55, Michael Van Canneyt wrote: > > 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 diffe

Re: [fpc-pascal] notify and notigyall

2007-08-24 Thread Vinzent Hoefler
On Friday 24 August 2007 07:55, Michael Van Canneyt wrote: > 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

Re: [fpc-pascal] notify and notigyall

2007-08-24 Thread Michael Van Canneyt
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 >