Re: [fpc-pascal] Critical Section and Recursive Calls

2017-03-30 Thread Mattias Gaertner
On Thu, 30 Mar 2017 03:36:02 -0300 African Wild Dog wrote: > Hello, > > I'm writing a function protected by a critical section which can have > recursive calls under certain conditions. > > Using the TCriticalSection class, after my thread acquires a critical >

[fpc-pascal] Critical Section and Recursive Calls

2017-03-30 Thread African Wild Dog
Hello, I'm writing a function protected by a critical section which can have recursive calls under certain conditions. Using the TCriticalSection class, after my thread acquires a critical section, if my thread make 6 additional calls to TCriticalSection.Enter, to release the critical section my