ReadWriteSpinlock passes even a stress test now, I am calling done. I also removed removed a few compilation warnings.