[GHC] #5604: Thread handle leak in runtime

GHC cvs-ghc at haskell.org
Wed Nov 9 10:16:19 CET 2011


#5604: Thread handle leak in runtime
---------------------------------------------+------------------------------
    Reporter:  yurij                         |        Owner:       
        Type:  bug                           |       Status:  new  
    Priority:  normal                        |    Milestone:  7.4.1
   Component:  Runtime System                |      Version:  7.2.1
    Keywords:  _endthreadex, shutdownThread  |     Testcase:       
   Blockedby:                                |   Difficulty:       
          Os:  Windows                       |     Blocking:       
Architecture:  x86                           |      Failure:  Other
---------------------------------------------+------------------------------

Comment(by marlowsd@…):

 commit dad0d225ec5117b715efc0c44c4fa0d606660381
 {{{
 Author: Simon Marlow <marlowsd at gmail.com>
 Date:   Tue Nov 8 16:28:57 2011 +0000

     Close some handle leaks (#5604)

     Also, use the Win32 API (CreateThread) instead of the CRT API
     (_beginthreadex) for thread creation.

  rts/win32/OSThreads.c |   30 +++++++++++++++++++++---------
  1 files changed, 21 insertions(+), 9 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5604#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list