------------------------------------------------------------------------
r30172 | pierre | 2015-03-12 21:59:56 +0100 (Thu, 12 Mar 2015) | 1 line
Changed paths:
   M /trunk/rtl/netbsd/ptypes.inc

 Correct pthread related types
------------------------------------------------------------------------

git-svn-id: branches/fixes_3_0@30255 -
This commit is contained in:
pierre 2015-03-17 22:09:06 +00:00
parent 654cda7387
commit 0b754f2289

View File

@ -169,7 +169,8 @@ struct statfs12 {
1: (_mbstateL: cint64); { for alignment }
end;
pmbstate_t = ^mbstate_t;
{ records transcripted fromm NetBSD 5.1 libpthread sources }
pthread_t = pointer;
pthread_attr_t = record
pta_magic : cuint;
@ -181,8 +182,21 @@ struct statfs12 {
ptma_magic : cint;
ptma_private : pointer;
end;
pthread_cond_t = pointer;
pthread_condattr_t = pointer;
pthread_spin_t = char;
pthread_queue_t = record
first, last : pointer;
end;
pthread_cond_t = record
ptc_magic : cuint;
ptc_lock : pthread_spin_t;
ptc_waiters : pthread_queue_t;
ptc_mutex : ^pthread_mutex_t;
ptc_private : pointer;
end;
pthread_condattr_t = record
ptca_magic : cuint;
ptca_private : pointer;
end;
pthread_key_t = cint;
pthread_rwlock_t = pointer;
pthread_rwlockattr_t = pointer;