Correct pthread related types

git-svn-id: trunk@30172 -
This commit is contained in:
pierre 2015-03-12 20:59:56 +00:00
parent 2dcd42d4f1
commit c45d3a2d96

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;