v1.1 sema_queue implementation