
24 Nov
2016
24 Nov
'16
3:27 a.m.
Hi Frank, Frank Liu wrote,
Please see the attached sample code.
If I turn READERS and WRITERS to 0, the test works fine.
Adding another thread in the process by setting a non-zero number to either READERS or WRITER, the test program crashes due to the assertion at line 99.
I think I found the reason for the problem. Try attached patch, best regards Waldemar