aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Signals.hsc
Commit message (Collapse)AuthorAge
* Drop redundant __GLASGOW_HASKELL__ conditionals for GHC>=7.4Gravatar Herbert Valerio Riedel2016-01-31
|
* Drop bitrotting HUGS supportGravatar Herbert Valerio Riedel2016-01-31
| | | | | It's very unlikely the current `unix` code stands any chance of even remotely work with Hugs...
* Remove obsolete windows-related #ifdefsGravatar Herbert Valerio Riedel2016-01-31
| | | | | | We haven't properly supported Windows for some time now, and we wouldn't have any way to test anyway, since GHC doesn't support Cygwin anymore either.
* `M-x untabify` & `M-x delete-trailing-whitespace`Gravatar Herbert Valerio Riedel2013-11-08
| | | | | | ...on recently touched files Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Temporary workaround for addressing #7359Gravatar Herbert Valerio Riedel2013-11-07
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Make compatible again for GHC back to 7.4.1Gravatar Herbert Valerio Riedel2013-10-12
| | | | | | | | | | | By avoiding `import Foreign` this accomplishes backward-compatibility w.r.t. the `unsafePerformIO` relocation w/o resorting to CPP conditionals. Moreover, in order to support base<4.7 this commits needs to reintroduce a harmless backport of `newFilePath`. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Add `changelog` file and `/Since: 2.7.0.0/` notesGravatar Herbert Valerio Riedel2013-10-12
| | | | | | | The changelog file will be shown on Hackage once it's included in the source tarball. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Declare language extensions via `{-# LANGUAGE -#}`Gravatar Herbert Valerio Riedel2013-10-12
| | | | | | | | | Only language extensions not active when `-XHaskell2010` is enabled are declared, this way we can drop many redundant `{-# LANGUAGE ForeignFunctionInterface #-}` occurences. This commit also removes/replaces some `{-# OPTIONS_GHC -XRecordWildCards #-}` pragmas. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Export SignalInfo(..), SignalSpecificInfo(..); completes #2451Gravatar Ian Lynagh2013-07-21
|
* Follow changes in baseGravatar Ian Lynagh2013-02-16
|
* Use pthread_kill on OS X tooGravatar Ian Lynagh2013-01-17
| | | | Fixes signals004(threaded1,threaded2) on OS X 32.
* Fix some parenthesesGravatar Ian Lynagh2013-01-17
| | | | I assume that this is what was intended.
* Bump base lower version to 4.5 (the version GHC 7.4.1 came with)Gravatar Ian Lynagh2012-11-30
| | | | and remove code to support older versions
* Export CatchInfo,CatchInfoOnce constructors of HandlerGravatar Ian Lynagh2012-10-31
| | | | | | | | | | | | | | | | | | | | This fixes warnings following commit 910a642294eb3547d0cbb3d5735ad81b964f137b Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon Oct 29 23:25:25 2012 +0000 Do not treat a constructor in a *pattern* as a *use* of that constructor I'm not sure if this is the right thing to do: In commit 1c4608e3b8737dbb9204f850af4d680ccea7d8ec Author: Simon Marlow <marlowsd@gmail.com> Date: Thu Feb 19 10:05:32 2009 +0000 Rewrite of signal-handling. the commit message says: The new implementation has the capability to define signal handlers that have access to the siginfo of the signal (#592), but this functionality is not exposed in this patch. but this at least gets validate builds working again, and we can change it if necessary as part of #2451
* Convert some FFI decls to use capiGravatar Ian Lynagh2012-02-22
|
* Roll back the sigset capi changesGravatar Ian Lynagh2011-12-03
| | | | They broken the build on OSX. See #2979.
* Use capi some more (part of #5480)Gravatar Ian Lynagh2011-11-28
|
* Convert come FFI bindings to use the capi calling conventionGravatar Ian Lynagh2011-11-28
|
* Fixes for NetBSDGravatar Ian Lynagh2011-11-25
| | | | | Based on a patch from Arnaud Degroote <degroote@NetBSD.org> in trac #5480.
* Fix conditional pragma to work with 6.12Gravatar David Terei2011-08-09
|
* Use Safe Haskell when GHC >= 7.2Gravatar David Terei2011-08-03
|
* Clarify behavior of "awaitSignal Nothing", export SignalSet that includes ↵Gravatar Dmitry Astapov2010-12-08
| | | | all signals reserved by RTS (#4504)
* Remove unnecessary fromIntegral callsGravatar simonpj@microsoft.com2010-11-16
|
* avoid Foreign.unsafePerformIOGravatar Ross Paterson2010-09-09
|
* Support for DragonFlyGravatar Simon Marlow2009-12-21
| | | | Not sure where this patch came from, I found it in my validate tree.
* Update to follow RTS tidyp changesGravatar Simon Marlow2009-08-01
|
* Fix warningGravatar Ian Lynagh2009-07-11
|
* Remove unused importsGravatar Ian Lynagh2009-07-07
|
* Update to work with the new GHC IO library internalsGravatar Simon Marlow2009-06-11
|
* Rewrite of signal-handling.Gravatar Simon Marlow2009-02-19
The API is the same (for now). The new implementation has the capability to define signal handlers that have access to the siginfo of the signal (#592), but this functionality is not exposed in this patch. #2451 is the ticket for the new API. The main purpose of bringing this in now is to fix race conditions in the old signal handling code (#2858). Later we can enable the new API in the HEAD. Implementation differences: - More of the signal-handling is moved into Haskell. We store the table of signal handlers in an MVar, rather than having a table of StablePtrs in the RTS. - In the threaded RTS, the siginfo of the signal is passed down the pipe to the IO manager thread, which manages the business of starting up new signal handler threads. In the non-threaded RTS, the siginfo of caught signals is stored in the RTS, and the scheduler starts new signal handler threads.