|
|
@ -5871,16 +5871,10 @@ int main (int argc, char *argv[]) |
|
|
|
if (unlikely(curl_global_init(CURL_GLOBAL_ALL))) |
|
|
|
if (unlikely(curl_global_init(CURL_GLOBAL_ALL))) |
|
|
|
quit(1, "Failed to curl_global_init"); |
|
|
|
quit(1, "Failed to curl_global_init"); |
|
|
|
|
|
|
|
|
|
|
|
if (unlikely(pthread_mutex_init(&hash_lock, NULL))) |
|
|
|
mutex_init(&hash_lock); |
|
|
|
quit(1, "Failed to pthread_mutex_init"); |
|
|
|
mutex_init(&curses_lock); |
|
|
|
if (unlikely(pthread_mutex_init(&qd_lock, NULL))) |
|
|
|
mutex_init(&control_lock); |
|
|
|
quit(1, "Failed to pthread_mutex_init"); |
|
|
|
rwlock_init(&blk_lock); |
|
|
|
if (unlikely(pthread_mutex_init(&curses_lock, NULL))) |
|
|
|
|
|
|
|
quit(1, "Failed to pthread_mutex_init"); |
|
|
|
|
|
|
|
if (unlikely(pthread_mutex_init(&control_lock, NULL))) |
|
|
|
|
|
|
|
quit(1, "Failed to pthread_mutex_init"); |
|
|
|
|
|
|
|
if (unlikely(pthread_rwlock_init(&blk_lock, NULL))) |
|
|
|
|
|
|
|
quit(1, "Failed to pthread_rwlock_init"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sprintf(packagename, "%s %s", PACKAGE, VERSION); |
|
|
|
sprintf(packagename, "%s %s", PACKAGE, VERSION); |
|
|
|
|
|
|
|
|
|
|
|