queue fix bug.
add rbtree for search speed up .
Signed-off-by: qijiang.guo <qijiang.guo@gmail.com>