mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 23:19:29 +02:00
Also use PHTREAD_INHERIT_SCHED in pthread_attr_setinheritedsched for NetBSD system
git-svn-id: trunk@29055 -
This commit is contained in:
parent
42be0dd306
commit
1fcc0490fe
@ -336,7 +336,7 @@ Type PINTRTLEvent = ^TINTRTLEvent;
|
||||
{$endif DEBUG_MT}
|
||||
pthread_attr_init(@thread_attr);
|
||||
{$if not defined(HAIKU) and not defined(ANDROID)}
|
||||
{$ifdef solaris}
|
||||
{$if defined (solaris) or defined (netbsd) }
|
||||
pthread_attr_setinheritsched(@thread_attr, PTHREAD_INHERIT_SCHED);
|
||||
{$else not solaris}
|
||||
pthread_attr_setinheritsched(@thread_attr, PTHREAD_EXPLICIT_SCHED);
|
||||
|
Loading…
Reference in New Issue
Block a user