Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2019-08

Reentrant mutex ?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Adriaan van Os

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

Reply by email

Jonas Maebe
to Adriaan van Os
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

Reply by email