THREADED_RTS: use cas() when claiming thunks
authorSimon Marlow <simonmar@microsoft.com>
Tue, 6 Mar 2007 14:27:32 +0000 (14:27 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 6 Mar 2007 14:27:32 +0000 (14:27 +0000)
commita1e3066e066f0f75da361f881b2f3198e0aada5f
treee2ca414a40012511a0f72a83aafe4593cf127907
parentd5b20065218f2650a60cafd179a318e98c080f05
THREADED_RTS: use cas() when claiming thunks
I guess I forgot to do this the first time around; the upshot is that
there could be some uncaught duplication of work on a multiprocessor
(but unlikely).
rts/ThreadPaused.c