[PATCH 6/6] msvcp140_atomic_wait: Implement __std_bulk_submit_threadpool_work.

Daniel Lehman dlehman at esri.com
Thu Jan 27 09:04:53 CST 2022


> The workcalled < 1234 occasionally fails on my machine (and if it doesn't we end with workcalled around 1230). Please remove the test or find a way to avoid the race.
I wanted a way to show the 2nd argument was really a cancel, but wasn't sure about the best way.  the 1234 seemed to work consistently for my box - would a higher number be ok?   if not, would removing the test for now be ok, to avoid random failures?

> Please also use InterlockedIncrement when updating workcalled from multiple threads.
Ah, right.  will do

Thanks
daniel


More information about the wine-devel mailing list