MOD:use pthread_cond to sync when ourl_queue is empty