[project @ 2003-09-11 00:58:02 by sof]
authorsof <unknown>
Thu, 11 Sep 2003 00:58:02 +0000 (00:58 +0000)
committersof <unknown>
Thu, 11 Sep 2003 00:58:02 +0000 (00:58 +0000)
commit384a584aef2896828afcb403a4a9491fd63552f4
tree4efc053061da76d6c05a41dd2be92e05942cc83c
parent3565204cdbc2a97375c90a944d259c827e4a5ebc
[project @ 2003-09-11 00:58:02 by sof]
Fix race condition re: WorkItems and SubmitWork().

It is unsafe to access a WorkItem after it has been queued, since
a worker thread may have already serviced (and freed) it.
Hence, return request IDs without looking at the WorkItem.

If desired, this one could be merged to STABLE.
ghc/rts/win32/IOManager.c