queue and pool by C
without thread func and sortingX