Allow disabling signal support in configure.

This commit is contained in:
bringert
2005-11-11 10:12:49 +00:00
parent 09a705d192
commit a51f7dad56
6 changed files with 123 additions and 35 deletions

21
src/GF/System/NoSignal.hs Normal file
View File

@@ -0,0 +1,21 @@
----------------------------------------------------------------------
-- |
-- Module : GF.System.NoSignal
-- Maintainer : Bjorn Bringert
-- Stability : (stability)
-- Portability : (portability)
--
-- > CVS $Date: 2005/11/11 11:12:50 $
-- > CVS $Author: bringert $
-- > CVS $Revision: 1.1 $
--
-- Dummy implementation of signal handling.
-----------------------------------------------------------------------------
module GF.System.NoSignal where
import Control.Exception (Exception)
{-# NOINLINE runInterruptibly #-}
runInterruptibly :: IO a -> IO (Either Exception a)
runInterruptibly = fmap Right