* 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:
olivier 2011-10-22 23:12:20 +00:00
parent 4faff70448
commit dbaf153163

View File

@ -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;