Re: [fpc-pascal] Counting semaphore for free pascal

2015-07-30 Thread Sven Barth
Am 30.07.2015 11:29 schrieb Michael Schnell mschn...@lumino.de: On 07/30/2015 10:50 AM, Michael Van Canneyt wrote: CriticalSection and TEvent derive their names from Windows OS calls, adopted by Delphi and hence by FPC. There is nothing FPC specific about it. OK. Thanks for the

Re: [fpc-pascal] *SPAM* Re: Counting semaphore for free pascal

2015-07-30 Thread Michael Schnell
On 07/30/2015 02:21 PM, Sven Barth wrote: Event (binary Semaphore) and CriticalSection (process local Mutex). I see. Thanks, -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Interface syntax: Is possible don't use specialize in mode objfpc?

2015-07-30 Thread silvioprog
On Fri, Jul 24, 2015 at 4:10 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 24 Jul 2015, silvioprog wrote: After that, we can still see about new modes. I'm not arguing about that. Michael. Are you talking about compatibility to Delphi 5/7? There are already many new

Re: [fpc-pascal] Interface syntax: Is possible don't use specialize in mode objfpc?

2015-07-30 Thread Joao Morais
On 24/07/15 04:10, Michael Van Canneyt wrote: Attributes and RTTI will come as soon as 3.0 are out of the door. Hello Michael, merging to trunk I presume. Provided that attributes and new rtti are two of the best things since the discover of the fire and the wheel, is there some branch I

Re: [fpc-pascal] Calling overriden method using TMethod

2015-07-30 Thread Joao Morais
On 30/07/15 15:05, Sven Barth wrote: Am 30.07.2015 19:00 schrieb Joao Morais l...@joaomorais.com.br mailto:l...@joaomorais.com.br: tbar2 inherits from tbar1 and 'go' is a virtual method. v1.go calls the tbar2 implementation as expected but tm(m1)() does call tbar1.go. As expected. Is

Re: [fpc-pascal] Counting semaphore for free pascal

2015-07-30 Thread Michael Schnell
On 07/29/2015 01:06 PM, Michael Schnell wrote: On 07/29/2015 12:35 PM, Serguei TARASSOV wrote: critical sections are not. Hmmm I suppose this is fpc speak. Thinking about this I feel that CriticalSection (the official name of this functionality is Mutex) and Event is fpc speak. Event even

Re: [fpc-pascal] Counting semaphore for free pascal

2015-07-30 Thread Michael Van Canneyt
On Thu, 30 Jul 2015, Michael Schnell wrote: On 07/29/2015 01:06 PM, Michael Schnell wrote: On 07/29/2015 12:35 PM, Serguei TARASSOV wrote: critical sections are not. Hmmm I suppose this is fpc speak. Thinking about this I feel that CriticalSection (the official name of this

Re: [fpc-pascal] Counting semaphore for free pascal

2015-07-30 Thread Serguei TARASSOV
On 30/07/2015 12:00, fpc-pascal-requ...@lists.freepascal.org wrote: Date: Wed, 29 Jul 2015 17:05:03 +0200 From: Michael Schnellmschn...@lumino.de To:fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Counting semaphore for free pascal Message-ID:55b8eb9f.6060...@lumino.de Content-Type:

Re: [fpc-pascal] Calling overriden method using TMethod

2015-07-30 Thread Sven Barth
Am 30.07.2015 19:00 schrieb Joao Morais l...@joaomorais.com.br: tbar2 inherits from tbar1 and 'go' is a virtual method. v1.go calls the tbar2 implementation as expected but tm(m1)() does call tbar1.go. As expected. Is there a nice and safe way to use v1 instance's VMT in order to call the

Re: [fpc-pascal] Counting semaphore for free pascal

2015-07-30 Thread Michael Schnell
On 07/30/2015 10:50 AM, Michael Van Canneyt wrote: CriticalSection and TEvent derive their names from Windows OS calls, adopted by Delphi and hence by FPC. There is nothing FPC specific about it. OK. Thanks for the clarification. I understand that the computer science names ate Mutex and