Replace semaphore in PD & CQ into spin-lock