Windows: remove the {Enter,Leave}CricialSection wrappers
authorSimon Marlow <simonmar@microsoft.com>
Wed, 29 Aug 2007 10:48:11 +0000 (10:48 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 29 Aug 2007 10:48:11 +0000 (10:48 +0000)
commitb09ab92b65983635c68c8944631b1d53e9b71e42
treebf0e6f512ca4431f0963bf99bcd9c1c68dabb92f
parent7605f65c7665bf1f58438d4eaf0ce9d56878a1c0
Windows: remove the {Enter,Leave}CricialSection wrappers
The C-- parser was missing the "stdcall" calling convention for
foreign calls, but once added we can call {Enter,Leave}CricialSection
directly.
compiler/cmm/CmmParse.y
includes/OSThreads.h
rts/HeapStackCheck.cmm
rts/PrimOps.cmm
rts/StgMiscClosures.cmm
rts/win32/OSThreads.c