[GHC] #7723: iOS patch no 12: Itimer.c doesn't work on iOS

GHC cvs-ghc at haskell.org
Wed Feb 27 11:51:11 CET 2013


#7723: iOS patch no 12: Itimer.c doesn't work on iOS
------------------------------+---------------------------------------------
Reporter:  StephenBlackheath  |          Owner:  StephenBlackheath
    Type:  bug                |         Status:  patch            
Priority:  normal             |      Component:  Compiler         
 Version:  7.7                |       Keywords:                   
      Os:  Other              |   Architecture:  arm              
 Failure:  None/Unknown       |      Blockedby:                   
Blocking:  7724               |        Related:                   
------------------------------+---------------------------------------------
Changes (by StephenBlackheath):

  * status:  new => patch


Comment:

 On iOS configure gives us...

 {{{
 #undef USE_TIMER_CREATE
 #define HAVE_SETITIMER
 }}}

 so setitimer is our only option. I re-tested the existing Itimer.c and it
 doesn't work (it doesn't fire).

 So I've added a patch here to give a pthread-based implementation that
 does work on iOS.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7723#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list