mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 22:49:23 +02:00
Changed sem_t to pointer to a anonymous struct as in system header and fixed wrong constant values
git-svn-id: trunk@20930 -
This commit is contained in:
parent
16896f42dd
commit
196dfdd29a
@ -19,10 +19,10 @@
|
|||||||
|
|
||||||
**********************************************************************}
|
**********************************************************************}
|
||||||
|
|
||||||
CONST PTHREAD_EXPLICIT_SCHED = 0;
|
CONST PTHREAD_EXPLICIT_SCHED = 1;
|
||||||
PTHREAD_CREATE_DETACHED = 1;
|
PTHREAD_CREATE_DETACHED = 1;
|
||||||
PTHREAD_SCOPE_PROCESS = 0;
|
PTHREAD_SCOPE_PROCESS = 0;
|
||||||
SEM_FAILED = -1;
|
SEM_FAILED = 0;
|
||||||
|
|
||||||
TYPE
|
TYPE
|
||||||
ppthread_t = ^pthread_t;
|
ppthread_t = ^pthread_t;
|
||||||
@ -35,8 +35,8 @@ CONST PTHREAD_EXPLICIT_SCHED = 0;
|
|||||||
ppthread_cond_t = ^pthread_cond_t;
|
ppthread_cond_t = ^pthread_cond_t;
|
||||||
ppthread_condattr_t = ^pthread_condattr_t;
|
ppthread_condattr_t = ^pthread_condattr_t;
|
||||||
|
|
||||||
sem_t = cint;
|
sem_t = ptrint;
|
||||||
psem_t = ^sem_t;
|
psem_t = ^sem_t;
|
||||||
TSemaphore = sem_t;
|
TSemaphore = sem_t;
|
||||||
PSemaphore = ^TSemaphore;
|
PSemaphore = ^TSemaphore;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user