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] Converting 32bit intel asm to Pascal or 64bit at&t asm

2011-03-10 Thread Andrew Haines
On 03/09/11 14:18, Thomas Schatzl wrote: > On Wed, 09 Mar 2011 13:23:55 -0500, Andrew Haines wrote: >> On 03/09/11 12:26, Thomas Schatzl wrote: >>> >>> FYL2X calculates the log to the base 2 of tmp, not log to the base e of >>> tmp? Just a guess. >>> >> >> I originally used log2(Tmp) but switched t

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__

[fpc-pascal] TThread.Resume

2011-03-10 Thread Mattias Gaertner
Hi all, TThread.Resume is marked deprecated. Where is the comment or documentation what to use now? Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] (Unix) serial port handling

2011-03-10 Thread Mark Morgan Lloyd
Henry Vermaak wrote: On 9 March 2011 15:54, wrote: On , Mark Morgan Lloyd wrote: I was using this to communicate with an HP instrument a few weeks ago, so have my own re-implementation of some of the stuff. I'll look at doing a patch, preparatory to seeing if I can hack a complementary Win-

Re: Re: [fpc-pascal] (Unix) serial port handling

2011-03-10 Thread Henry Vermaak
On 9 March 2011 15:54, wrote: > On , Mark Morgan Lloyd wrote: > >> >> I was using this to communicate with an HP instrument a few weeks ago, so >> have my own re-implementation of some of the stuff. I'll look at doing a >> patch, preparatory to seeing if I can hack a complementary Win-32 >> equi

Re: Re: [fpc-pascal] (Unix) serial port handling

2011-03-10 Thread johnelee1944
On , Mark Morgan Lloyd wrote: I was using this to communicate with an HP instrument a few weeks ago, so have my own re-implementation of some of the stuff. I'll look at doing a patch, preparatory to seeing if I can hack a complementary Win-32 equivalent. Mark, afaik there isn'ta way of