add code for write lock starve process trail