Thread overview
[Issue 7112] New: Add function in core.sys.posix.signal
Dec 15, 2011
bioinfornatics
December 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7112

           Summary: Add function in core.sys.posix.signal
           Product: D
           Version: future
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody@puremagic.com
        ReportedBy: bioinfornatics@gmail.com


--- Comment #0 from bioinfornatics <bioinfornatics@gmail.com> 2011-12-15 01:55:14 PST ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 10, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7112


Alex Rønne Petersen <alex@lycus.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |alex@lycus.org
         AssignedTo|nobody@puremagic.com        |alex@lycus.org


--- Comment #1 from Alex Rønne Petersen <alex@lycus.org> 2012-10-10 02:54:59 CEST ---
This needs to be added to a separate signalfd header module for Linux only. I'll look into it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 10, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7112


Alex Rønne Petersen <alex@lycus.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #2 from Alex Rønne Petersen <alex@lycus.org> 2012-10-10 03:11:14 CEST ---
https://github.com/D-Programming-Language/druntime/pull/315

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 15, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7112



--- Comment #3 from github-bugzilla@puremagic.com 2012-10-14 19:18:34 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 15, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7112


Alex Rønne Petersen <alex@lycus.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------