RWT 1 by git remote test


(Haoyu Guo) #1

Hi,
I am working on reader and writer lock and found a weird situation. When I submit my code (which is exactly the same, they have the same git branches version #). One of them passed Reader and Writer lock test 1(RWT1), another one just failed by saying "failed starvation ". I just want to make sure does this fail test really caused by my reader writer lock or some other issue.

Thank you


(Haoyu Guo) #2

Update: I found some bug in my RWlock which can cause starvation. After fixing, everything went just fine. The previous accidental pass of RWT 1 may be the mercy of code God:slight_smile: