modified: async_pq.c