Re: [GHC] #1381: Add terminateStmt to GHC as a library

2012-12-20 Thread GHC
#1381: Add terminateStmt to GHC as a library
-+--
Reporter:  guest |   Owner:  
Type:  feature request   |  Status:  new 
Priority:  normal|   Milestone:  _|_ 
   Component:  GHC API   | Version:  6.6.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--

Comment(by marlowsd@…):

 commit 02c4ab049adeb77b8ee0e3b98fbf0f3026eee453
 {{{
 Author: Simon Marlow marlo...@gmail.com
 Date:   Thu Dec 20 09:18:49 2012 +

 Redirect asynchronous exceptions to the sandbox thread in runStmt
 (#1381)

 See comment for details.

 We no longer use pushInterruptTargetThread/popInterruptTargetThread,
 so these could go away in due course.

  compiler/main/InteractiveEval.hs |   43
 -
  1 files changed, 32 insertions(+), 11 deletions(-)
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1381#comment:9
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #1381: Add terminateStmt to GHC as a library

2012-12-20 Thread GHC
#1381: Add terminateStmt to GHC as a library
---+
  Reporter:  guest |  Owner:  
  Type:  feature request   | Status:  closed  
  Priority:  normal|  Milestone:  7.8.1   
 Component:  GHC API   |Version:  6.6.1   
Resolution:  fixed |   Keywords:  
Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  | Difficulty:  Unknown 
  Testcase:|  Blockedby:  
  Blocking:|Related:  
---+
Changes (by simonmar):

  * status:  new = closed
  * resolution:  = fixed
  * milestone:  _|_ = 7.8.1


Comment:

 I believe the above patch fixes this ticket, because you can now just
 throw an exception to the thread that calls `runStmt` and the right thing
 will happen: `runStmt` will return with `RunException e` where `e` is the
 exception you threw.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1381#comment:10
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #1381: Add terminateStmt to GHC as a library

2012-12-13 Thread GHC
#1381: Add terminateStmt to GHC as a library
-+--
Reporter:  guest |   Owner:  
Type:  feature request   |  Status:  new 
Priority:  normal|   Milestone:  _|_ 
   Component:  GHC API   | Version:  6.6.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--

Old description:

 Hi

 I would like an extension to the GHC as a library API, so that if I
 have done:

   runStmt someStatement

 I can prematurely terminate the execution.

 I have posted this request on ghc-us...@haskell.org and a more thorough
 explanation can be found there: http://www.haskell.org/pipermail/glasgow-
 haskell-users/2007-May/012613.html


 Greetings,

 Mads Lindstrøm

New description:

 Hi

 I would like an extension to the GHC as a library API, so that if I have
 done:
 {{{
   runStmt someStatement
 }}}
 I can prematurely terminate the execution.

 I have posted this request on ghc-us...@haskell.org and a more thorough
 explanation can be found there: http://www.haskell.org/pipermail/glasgow-
 haskell-users/2007-May/012613.html


 Greetings,

 Mads Lindstrøm

--

Comment(by simonpj):

 I'm not familiar with the details, but it sounds as if you are any
 chance of a patch?

 Simon

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1381#comment:8
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #1381: Add terminateStmt to GHC as a library

2010-06-19 Thread GHC
#1381: Add terminateStmt to GHC as a library
-+--
Reporter:  guest |Owner:  
Type:  feature request   |   Status:  new 
Priority:  normal|Milestone:  _|_ 
   Component:  GHC API   |  Version:  6.6.1   
Keywords:|   Difficulty:  Unknown 
  Os:  Unknown/Multiple  | Testcase:  
Architecture:  Unknown/Multiple  |  Failure:  None/Unknown
-+--
Changes (by igloo):

  * priority:  low = normal
  * failure:  = None/Unknown
  * milestone:  6.12.3 = _|_


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1381#comment:6
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #1381: Add terminateStmt to GHC as a library

2009-04-13 Thread GHC
#1381: Add terminateStmt to GHC as a library
-+--
Reporter:  guest |Owner:  
Type:  feature request   |   Status:  new 
Priority:  low   |Milestone:  6.12 branch 
   Component:  GHC API   |  Version:  6.6.1   
Severity:  minor |   Resolution:  
Keywords:|   Difficulty:  Unknown 
Testcase:|   Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
-+--
Changes (by igloo):

  * milestone:  6.10 branch = 6.12 branch

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1381#comment:4
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #1381: Add terminateStmt to GHC as a library

2007-05-29 Thread GHC
#1381: Add terminateStmt to GHC as a library
+---
Reporter:  guest|Owner: 
Type:  feature request  |   Status:  new
Priority:  low  |Milestone:  6.10   
   Component:  GHC API  |  Version:  6.6.1  
Severity:  minor|   Resolution: 
Keywords:   |   Difficulty:  Unknown
  Os:  Multiple | Testcase: 
Architecture:  Unknown  |  
+---
Changes (by simonmar):

  * milestone:  = 6.10

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1381
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs