add nOS_QueueIsEmpty and nOS_QueueIsFull functions