D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15073 - SIGRTMIN is an alias to a private function
Summary: SIGRTMIN is an alias to a private function
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 major
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-16 13:20 UTC by Tomer Filiba (weka)
Modified: 2016-01-03 14:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Tomer Filiba (weka) 2015-09-16 13:20:44 UTC
a simple program such as

    import core.sys.posix.signal;

    void main() {
        int rtmin = SIGRTMIN;
    }

fails to compile with

    Error: function core.sys.posix.signal.__libc_current_sigrtmin is not accessible from module main

Due to the functions being marked private in core.sys.posix.signal
Comment 1 Tomer Filiba (weka) 2015-09-16 13:29:37 UTC
Sent a pull request:
https://github.com/D-Programming-Language/druntime/pull/1386
Comment 2 github-bugzilla 2015-10-12 11:58:48 UTC
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/a6e3f93f762dd555b84e90dc881519cfe0ab8721
Bug 15073: convert SIGRTMIN/SIGRTMAX to properties

https://github.com/D-Programming-Language/druntime/commit/bc54d8080a5a41803c159c3b81ea84aa47c10fd4
Bug 15073: only Solaris and Linux support realtime signals

https://github.com/D-Programming-Language/druntime/commit/877233f6149ee5387d1ffb630626ee4d20e800da
Bug 15073: make static variable __gshared

https://github.com/D-Programming-Language/druntime/commit/d42d96c14b2f92fe9b6eb1f66db4124e8a38c749
Merge pull request #1386 from tomerfiliba/patch-2

Bug 15073: statically-initialize SIGRTMIN/MAX
Comment 3 Vladimir Panteleev 2015-10-15 17:00:25 UTC
PR was merged.