D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 13037 - SIGRTMIN and SIGRTMAX aren't correctly defined on Solaris
Summary: SIGRTMIN and SIGRTMAX aren't correctly defined on Solaris
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: x86 Solaris
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks: 8859
  Show dependency treegraph
 
Reported: 2014-07-04 01:03 UTC by Jason King
Modified: 2014-07-06 14:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Jason King 2014-07-04 01:03:52 UTC
The current implementation tries to call __libc_current_sigrt{min,max}() to determine the values of SIGRT{MIN,MAX}.  No such symbols exist in libc on Solaris.  Instead sysconf(3c) should be called with _SC_SIGRT_{MIN,MAX} to obtain the value.