Re: [fpc-pascal] TThread.Resume

2011-03-11 Thread Marco van de Voort
In our previous episode, Mattias Gaertner said: > > On 10 Mar 2011, at 19:27, Mattias Gaertner wrote: > > > > > TThread.Resume is marked deprecated. Where is the comment or > > > documentation what to use now? > > > > http://wiki.freepascal.org/User_Changes_Trunk#TThread.Suspend_and_TThread.Resu

Re: [fpc-pascal] TThread.Resume

2011-03-10 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 10 Mar 2011, at 22:33, Mark Morgan Lloyd wrote: [Reads] Wasn't there a race condition when a thread was created suspended? Was that fixed? There was a race condition when a thread was created in a non-suspended stated, and if it terminated before the constructor finish

Re: [fpc-pascal] TThread.Resume

2011-03-10 Thread Jonas Maebe
On 10 Mar 2011, at 22:33, Mark Morgan Lloyd wrote: > [Reads] Wasn't there a race condition when a thread was created suspended? > Was that fixed? There was a race condition when a thread was created in a non-suspended stated, and if it terminated before the constructor finished running. This h

Re: [fpc-pascal] TThread.Resume

2011-03-10 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 10 Mar 2011, at 19:27, Mattias Gaertner wrote: TThread.Resume is marked deprecated. Where is the comment or documentation what to use now? http://wiki.freepascal.org/User_Changes_Trunk#TThread.Suspend_and_TThread.Resume_are_deprecated [Reads] Wasn't there a race condi

Re: [fpc-pascal] TThread.Resume

2011-03-10 Thread Mattias Gaertner
On Thu, 10 Mar 2011 19:38:11 +0100 Jonas Maebe wrote: > > On 10 Mar 2011, at 19:27, Mattias Gaertner wrote: > > > TThread.Resume is marked deprecated. Where is the comment or documentation > > what to use now? > > http://wiki.freepascal.org/User_Changes_Trunk#TThread.Suspend_and_TThread.Resum

Re: [fpc-pascal] TThread.Resume

2011-03-10 Thread Jonas Maebe
On 10 Mar 2011, at 19:27, Mattias Gaertner wrote: > TThread.Resume is marked deprecated. Where is the comment or documentation > what to use now? http://wiki.freepascal.org/User_Changes_Trunk#TThread.Suspend_and_TThread.Resume_are_deprecated Jonas__