Use shared locks