Add semaphore block queue.

Signed-off-by: Shanjin Yang <sjyang@credosemi.com>