cmphwlocks: First working version of CAM locks