On Sun Dec 31 11:42:32 2023 +0000, Piotr Caban wrote:
The test needs more work:
- you should pass `i` as argument (not `&i`)
- ARRAY_SIZE(threads) is bigger than MAXIMUM_WAIT_OBJECTS
- I think the test will be better if only 2 threads are created
Thanks for having a look. The test failing manifests just with a crash. I wanted to have the test crash like the application and took a few threads too much. If I reduce the threads to just two I do no longer receive the crash, with 8 not always, with 16 quite reliable (with a 16 thread cpu).