mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 02:06:10 +02:00
* start exchanging untyped "Pointer" handle types to pointer to empty records.
see discussion mantis 16607 git-svn-id: trunk@15404 -
This commit is contained in:
parent
af15fa4ec4
commit
5fac78e334
@ -19,7 +19,8 @@
|
||||
type
|
||||
{ fd are int in C also for 64bit targets (x86_64) }
|
||||
THandle = Longint;
|
||||
TThreadID = pointer;
|
||||
TThreadRec = record end;
|
||||
TThreadID = ^TThreadRec;
|
||||
|
||||
{ pthread_mutex_t }
|
||||
PRTLCriticalSection = ^TRTLCriticalSection;
|
||||
|
@ -117,15 +117,24 @@ type
|
||||
ptimespec= ^timespec;
|
||||
Ttimespec= timespec;
|
||||
|
||||
pthread_t = pointer;
|
||||
pthread_attr_t = pointer;
|
||||
pthread_t_rec = record end;
|
||||
pthread_attr_t_rec = record end;
|
||||
// pthread_mutex_t_rec = record end;
|
||||
pthread_mutexattr_t_rec = record end;
|
||||
pthread_cond_t_rec = record end;
|
||||
pthread_condattr_t_rec = record end;
|
||||
pthread_rwlock_t_rec = record end;
|
||||
pthread_rwlockattr_t_rec = record end;
|
||||
|
||||
pthread_t = ^pthread_t_rec;
|
||||
pthread_attr_t = ^pthread_attr_t_rec;
|
||||
pthread_mutex_t = {$i pmutext.inc}
|
||||
pthread_mutexattr_t = pointer;
|
||||
pthread_cond_t = pointer;
|
||||
pthread_condattr_t = pointer;
|
||||
pthread_mutexattr_t = ^pthread_mutexattr_t_rec;
|
||||
pthread_cond_t = ^pthread_cond_t_rec;
|
||||
pthread_condattr_t = ^pthread_condattr_t_rec;
|
||||
pthread_key_t = cint;
|
||||
pthread_rwlock_t = pointer;
|
||||
pthread_rwlockattr_t = pointer;
|
||||
pthread_rwlock_t = ^pthread_rwlock_t_rec;
|
||||
pthread_rwlockattr_t = ^pthread_rwlock_t_rec;
|
||||
|
||||
sem_t = pointer;
|
||||
rlim_t = int64;
|
||||
|
Loading…
Reference in New Issue
Block a user