Close some handle leaks (#5604)
authorSimon Marlow <marlowsd@gmail.com>
Tue, 8 Nov 2011 16:28:57 +0000 (16:28 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 9 Nov 2011 09:16:04 +0000 (09:16 +0000)
commitdad0d225ec5117b715efc0c44c4fa0d606660381
tree9a8920b36e282794cbf713edfba50027bafb0859
parent099bd6fc48eedb00229c01ca360cd54eedce8f81
Close some handle leaks (#5604)

Also, use the Win32 API (CreateThread) instead of the CRT API
(_beginthreadex) for thread creation.
rts/win32/OSThreads.c