← Back to index
|
Original Bugzilla link
Bug 7112 – Add function in core.sys.posix.signal
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2011-12-15T01:55:00Z
Last change time
2015-06-09T05:13:46Z
Keywords
pull
Assigned to
alex
Creator
bioinfornatics
Comments
Comment #0
by bioinfornatics — 2011-12-15T01:55:14Z
Dear, they are away to add this c interface from sys/signalfd.h : extern (System){ struct signalfd_siginfo{ uint ssi_signo; int ssi_errno; int ssi_code; uint ssi_pid; uint ssi_uid; int ssi_fd; uint ssi_tid; uint ssi_band; uint ssi_overrun; uint ssi_trapno; int ssi_status; int ssi_int; ulong ssi_ptr; ulong ssi_utime; ulong ssi_stime; ulong ssi_addr; short __pad[48]; } /* Flags for signalfd. */ enum SFD_CLOEXEC = octal!2000000; enum SFD_NONBLOCK = octal!4000; extern int signalfd (int __fd, const sigset_t * __mask, int __flags); } thanks
Comment #1
by alex — 2012-10-09T17:54:59Z
This needs to be added to a separate signalfd header module for Linux only. I'll look into it.
Comment #2
by alex — 2012-10-09T18:11:14Z
https://github.com/D-Programming-Language/druntime/pull/315
Comment #3
by github-bugzilla — 2012-10-14T19:18:34Z
Commits pushed to master at
https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/1d21ce334f9481ae9eaed190f78793944a0ca8ea
Fix issue #7112 - add core.sys.linux.sys.signalfd module.
https://github.com/D-Programming-Language/druntime/commit/168c1ec0b77368ee9fb881125e0684ca3e101ec7
Merge pull request #315 from alexrp/signalfd-linux Fix issue #7112 - add core.sys.linux.sys.signalfd module.