cvs commit: fptools/ghc/rts Schedule.c

Simon Marlow simonmar at haskell.org
Wed Feb 2 07:41:58 EST 2005


simonmar    2005/02/02 04:41:58 PST

  Modified files:
    ghc/rts              Schedule.c 
  Log:
  Add a helpful sanity check: if we try to re-enter the scheduler from
  Haskell code without going via suspendThread()/resumeThread(), such as
  when you have a 'foreign import unsafe' that should be 'safe', then you
  get an error message.
  
  Revision  Changes    Path
  1.215     +19 -0     fptools/ghc/rts/Schedule.c


More information about the Cvs-ghc mailing list