Reentrant mutex ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Reentrant mutex ?

Adriaan van Os-2
The FPC Run-Time Library Reference guide doesn't seem to document whether TRTLCriticalSection is
reentrant or not (PTHREAD_MUTEX_RECURSIVE for Unix). I welcome a clarification.

Regards,

Adriaan van Os




_______________________________________________
fpc-pascal maillist  -  [hidden email]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Reentrant mutex ?

Jonas Maebe-3
On 04/08/2019 15:45, Adriaan van Os wrote:
> The FPC Run-Time Library Reference guide doesn't seem to document
> whether TRTLCriticalSection is reentrant or not (PTHREAD_MUTEX_RECURSIVE
> for Unix). I welcome a clarification.

TRTLCriticalSection is indeed re-entrant.


Jonas
_______________________________________________
fpc-pascal maillist  -  [hidden email]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal