mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 12:31:01 +02:00
* revert part of r19256. While this declaration seems not consistent with
Haiku headers, it avoid some segmentation faults with threaded programs. git-svn-id: trunk@19531 -
This commit is contained in:
parent
4faff70448
commit
dbaf153163
@ -24,9 +24,12 @@ type
|
||||
{ pthread_mutex_t }
|
||||
PRTLCriticalSection = ^TRTLCriticalSection;
|
||||
TRTLCriticalSection = record
|
||||
flags : Cardinal;
|
||||
lock : integer;
|
||||
unused : integer;
|
||||
owner : integer;
|
||||
owner_count : integer;
|
||||
__m_reserved: longint;
|
||||
__m_count: longint;
|
||||
__m_owner: pointer;
|
||||
__m_kind: longint;
|
||||
__m_lock: record
|
||||
__status: sizeint;
|
||||
__spinlock: longint;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user