Make spu_channel_4_t::clear() atomic

By removing separate value3 write, fixes a rare race introduced by #6917.
This commit is contained in:
Eladash 2019-11-01 12:58:26 +02:00 committed by Ivan
commit 9958a83d10

View file

@ -278,7 +278,6 @@ public:
void clear() void clear()
{ {
values.release({}); values.release({});
value3.release(0);
} }
// push unconditionally (overwriting latest value), returns true if needs signaling // push unconditionally (overwriting latest value), returns true if needs signaling