* 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 } { 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;