mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 05:59:28 +02:00
* terminate with an error when initializing a critical section and recursive
mutexes are not available, since one of the expected properties of (Delphi/Windows-compatible) critical sections is that they ar re-entrant (mantis #23334) git-svn-id: trunk@23011 -
This commit is contained in:
parent
676db6d377
commit
d3d0df6e4d
@ -463,7 +463,7 @@ Type PINTRTLEvent = ^TINTRTLEvent;
|
||||
res := pthread_mutex_init(@CS,@MAttr)
|
||||
else
|
||||
{ No recursive mutex support :/ }
|
||||
res := pthread_mutex_init(@CS,NIL);
|
||||
fpc_threaderror
|
||||
end
|
||||
else
|
||||
res:= pthread_mutex_init(@CS,NIL);
|
||||
|
Loading…
Reference in New Issue
Block a user