logo       

[ ghc-Bugs-1332817 ] Windows HGL Thread problems: msg#00044

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1332817 ] Windows HGL Thread problems

Bugs item #1332817, was opened at 2005-10-20 13:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1332817&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Runtime System
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Thomas (mjthomas)
Assigned to: Nobody/Anonymous (nobody)
Summary: Windows HGL Thread problems

Initial Comment:
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@xxxxxxxxxxx,
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."


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1332817&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise