add CQ init & destroy & is_full & is_empty
provide some length macro
move length macro to common.h
move length macro to common.h