[project @ 2005-02-02 12:41:50 by simonmar]
authorsimonmar <unknown>
Wed, 2 Feb 2005 12:41:50 +0000 (12:41 +0000)
committersimonmar <unknown>
Wed, 2 Feb 2005 12:41:50 +0000 (12:41 +0000)
commit268d028c0275b7899c46c61b7b9d8449f4b2427e
treeed641f2dc017e54455228021e95f60992da26bbd
parent698e5a125418a9600e91b40b62c642ce4d38a073
[project @ 2005-02-02 12:41:50 by simonmar]
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.
ghc/rts/Schedule.c