mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 13:49:39 +02:00
* disabled some types in pthrlinux.inc because they already exist in unixtype
git-svn-id: trunk@7173 -
This commit is contained in:
parent
29ffdefacb
commit
66d11ab637
@ -64,6 +64,7 @@ Const
|
|||||||
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP = 2;
|
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP = 2;
|
||||||
PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_WRITER_NP;
|
PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_WRITER_NP;
|
||||||
|
|
||||||
|
|
||||||
_SIGSET_NWORDS = 1024 div (8 * SizeOf(LongWord));
|
_SIGSET_NWORDS = 1024 div (8 * SizeOf(LongWord));
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -79,13 +80,13 @@ type
|
|||||||
PSize_t = ^Size_t;
|
PSize_t = ^Size_t;
|
||||||
|
|
||||||
// From scheduler.
|
// From scheduler.
|
||||||
|
{ already in unix type
|
||||||
timespec = record
|
timespec = record
|
||||||
tv_sec: cint;
|
tv_sec: cint;
|
||||||
tv_nsec: cint;
|
tv_nsec: cint;
|
||||||
end;
|
end;
|
||||||
TTimeSpec = timespec;
|
TTimeSpec = timespec;
|
||||||
PTimeSpec = ^TTimeSpec;
|
PTimeSpec = ^TTimeSpec; }
|
||||||
|
|
||||||
// procedural types used in parameters to pthread functions
|
// procedural types used in parameters to pthread functions
|
||||||
|
|
||||||
@ -94,9 +95,7 @@ type
|
|||||||
TInitOnceProc = Procedure;cdecl;
|
TInitOnceProc = Procedure;cdecl;
|
||||||
TForkHandler = procedure; cdecl;
|
TForkHandler = procedure; cdecl;
|
||||||
|
|
||||||
TThreadID = pthread_t;
|
|
||||||
PPTHREAD_T = ^PTHREAD_T;
|
PPTHREAD_T = ^PTHREAD_T;
|
||||||
PThreadID = ^TThreadID;
|
|
||||||
|
|
||||||
_PTHREAD_DESCR = Pointer;
|
_PTHREAD_DESCR = Pointer;
|
||||||
TPTHREAD_DESCR = _PTHREAD_DESCR;
|
TPTHREAD_DESCR = _PTHREAD_DESCR;
|
||||||
|
Loading…
Reference in New Issue
Block a user