[project @ 2003-12-15 14:28:39 by simonmar]
authorsimonmar <unknown>
Mon, 15 Dec 2003 14:28:39 +0000 (14:28 +0000)
committersimonmar <unknown>
Mon, 15 Dec 2003 14:28:39 +0000 (14:28 +0000)
commitddbdee33f5df83398252f5348d1c5938f7ea654a
tree0dac58e3931573748b3da6a8a39495ad778d8c60
parent1b170b6ca71637cf3574eb1cbb7030c22459826d
[project @ 2003-12-15 14:28:39 by simonmar]
Fix bogosity in implementation of ACQUIRE_LOCK/RELEASE_LOCK on Win32.
These functions were essentially doing nothing, due to a missing
dereference on the argument.

I've rewritten them as inlines (to catch type errors) and added some
checking of the return values, which should help catch errors like
this in the future.
ghc/rts/OSThreads.h