Follow removal of 'threadsafe' FFI imports ghc-7.2 ghc-7.2.1-release ghc-7.2.2-release
authorIan Lynagh <igloo@earth.li>
Tue, 12 Jul 2011 23:56:48 +0000 (00:56 +0100)
committerIan Lynagh <igloo@earth.li>
Tue, 12 Jul 2011 23:56:48 +0000 (00:56 +0100)
Language/Haskell/TH.hs
Language/Haskell/TH/Lib.hs
Language/Haskell/TH/Syntax.hs

index 2d25dfe..c2bc267 100644 (file)
@@ -84,7 +84,7 @@ module Language.Haskell.TH(
     newtypeInstD, tySynInstD, 
     typeFam, dataFam,
     -- **** Foreign Function Interface (FFI)
-    cCall, stdCall, unsafe, safe, threadsafe, forImpD,
+    cCall, stdCall, unsafe, safe, forImpD,
     -- **** Pragmas
     -- | Just inline supported so far
     inlineSpecNoPhase, inlineSpecPhase,
index fc8ab76..894bb33 100644 (file)
@@ -493,10 +493,9 @@ stdCall = StdCall
 -------------------------------------------------------------------------------
 -- *   Safety
 
-unsafe, safe, threadsafe, interruptible :: Safety
+unsafe, safe, interruptible :: Safety
 unsafe = Unsafe
 safe = Safe
-threadsafe = Threadsafe
 interruptible = Interruptible
 
 -------------------------------------------------------------------------------
index b763aba..2360f55 100644 (file)
@@ -843,7 +843,7 @@ data Foreign = ImportF Callconv Safety String Name Type
 data Callconv = CCall | StdCall
           deriving( Show, Eq, Data, Typeable )
 
-data Safety = Unsafe | Safe | Threadsafe | Interruptible
+data Safety = Unsafe | Safe | Interruptible
         deriving( Show, Eq, Data, Typeable )
 
 data Pragma = InlineP     Name InlineSpec