mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-28 00:11:49 +01: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 }
|
{ pthread_mutex_t }
|
||||||
PRTLCriticalSection = ^TRTLCriticalSection;
|
PRTLCriticalSection = ^TRTLCriticalSection;
|
||||||
TRTLCriticalSection = record
|
TRTLCriticalSection = record
|
||||||
flags : Cardinal;
|
__m_reserved: longint;
|
||||||
lock : integer;
|
__m_count: longint;
|
||||||
unused : integer;
|
__m_owner: pointer;
|
||||||
owner : integer;
|
__m_kind: longint;
|
||||||
owner_count : integer;
|
__m_lock: record
|
||||||
|
__status: sizeint;
|
||||||
|
__spinlock: longint;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user