[commit: ghc] master: rts: Split up Itimer.c (65e13f6)

git at git.haskell.org git at git.haskell.org
Sun May 1 21:56:29 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/65e13f66c595ad75bd6e9a55496f1372ead2731d/ghc

>---------------------------------------------------------------

commit 65e13f66c595ad75bd6e9a55496f1372ead2731d
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Sun May 1 13:39:23 2016 +0200

    rts: Split up Itimer.c
    
    This shouldn't have any functional changes. It merely splits up what are
    essentially three distinct codepaths which are melding together with
    CPP.
    
    At the moment I merely #include the implementation to use with CPP
    although this really feels very yucky.
    
    Reviewers: erikd, austin, simonmar
    
    Reviewed By: simonmar
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2130


>---------------------------------------------------------------

65e13f66c595ad75bd6e9a55496f1372ead2731d
 rts/posix/Itimer.c             | 305 +----------------------------------------
 rts/posix/Signals.c            |  29 ++++
 rts/posix/Signals.h            |   4 +
 rts/posix/itimer/Pthread.c     | 187 +++++++++++++++++++++++++
 rts/posix/itimer/Setitimer.c   |  88 ++++++++++++
 rts/posix/itimer/TimerCreate.c |  93 +++++++++++++
 6 files changed, 407 insertions(+), 299 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 65e13f66c595ad75bd6e9a55496f1372ead2731d


More information about the ghc-commits mailing list