[GHC] #471: Windows HGL Thread problems
GHC
trac at galois.com
Fri Jan 13 06:35:02 EST 2006
#471: Windows HGL Thread problems
-----------------------------+----------------------------------------------
Reporter: mjthomas | Owner: nobody
Type: bug | Status: assigned
Priority: normal | Milestone:
Component: Runtime System | Version: 6.4.1
Severity: normal | Resolution: None
Keywords: | Os: Windows
Difficulty: Unknown | Architecture: Unknown
-----------------------------+----------------------------------------------
Changes (by simonmar):
* architecture: => Unknown
* difficulty: => Unknown
* version: None => 6.4.1
* os: => Windows
Old description:
> {{{
> With CVS HEAD (19 October 2005 Australian morning)
> the following minimal modifications to the HGL library
> give a runtime error in the "GTest.exe" example program:
>
> =======================================
> ...
> handleEvent: Before getMessage.
> handleEvent: Before yield.
> GTest.exe: internal error: resumeThread: thread not
> found
> Please report this as a bug to glasgow-haskell-
> bugs at haskell.org,
> or http://www.sourceforge.net/projects/ghc/
> =======================================
>
> Without those two putStrLn () calls, none of the three
> example programs "GTests.exe", "Tests.exe"
> or "HelloWorld.exe" displays a Window.
>
> With those two putStrLn () calls, all three example
> programs present their windows and both "Tests.exe"
> and "HelloWorld.exe" appear to run perfectly (although
> note that I have not seen them running at all other than
> in these tests).
>
> Cheers
>
> Mike Thomas
>
> =========================================
> ==========================
> RCS
> file: /home/cvs/root/fptools/libraries/HGL/Graphics/HGL/
> Win32/WND.hs,v
> retrieving revision 1.9
> diff -r1.9 WND.hs
> 130a131
> > putStrLn "handleEvent: Before yield."
> 133a135
> > putStrLn "handleEvent: Before getMessage."
>
> }}}
New description:
{{{
With CVS HEAD (19 October 2005 Australian morning)
the following minimal modifications to the HGL library
give a runtime error in the "GTest.exe" example program:
=======================================
...
handleEvent: Before getMessage.
handleEvent: Before yield.
GTest.exe: internal error: resumeThread: thread not
found
Please report this as a bug to glasgow-haskell-
bugs at haskell.org,
or http://www.sourceforge.net/projects/ghc/
=======================================
Without those two putStrLn () calls, none of the three
example programs "GTests.exe", "Tests.exe"
or "HelloWorld.exe" displays a Window.
With those two putStrLn () calls, all three example
programs present their windows and both "Tests.exe"
and "HelloWorld.exe" appear to run perfectly (although
note that I have not seen them running at all other than
in these tests).
Cheers
Mike Thomas
=========================================
==========================
RCS
file: /home/cvs/root/fptools/libraries/HGL/Graphics/HGL/
Win32/WND.hs,v
retrieving revision 1.9
diff -r1.9 WND.hs
130a131
> putStrLn "handleEvent: Before yield."
133a135
> putStrLn "handleEvent: Before getMessage."
}}}
--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/471>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list