Name: download-provider
Summary: Download the contents in background
-Version: 2.1.121
+Version: 2.2.0
Release: 0
Group: Development/Libraries
License: Apache-2.0
if (g_dp_notification_manager_tid > 0 &&
pthread_kill(g_dp_notification_manager_tid, 0) != ESRCH) {
//send signal to notification thread
- int status;
+ void *status;
pthread_t tid;
tid = g_dp_notification_manager_tid;
CLIENT_MUTEX_LOCK(&g_dp_notification_manager_mutex);
g_dp_notification_manager_tid = 0;
pthread_cond_signal(&g_dp_notification_manager_cond);
CLIENT_MUTEX_UNLOCK(&g_dp_notification_manager_mutex);
- pthread_join(tid, (void **)&status);
+ pthread_join(tid, &status);
}
}
#else
if (g_dp_queue_manager_tid > 0 &&
pthread_kill(g_dp_queue_manager_tid, 0) != ESRCH) {
//send signal to queue thread
- int status;
+ void *status;
pthread_t tid;
tid = g_dp_queue_manager_tid;
CLIENT_MUTEX_LOCK(&g_dp_queue_manager_mutex);
g_dp_queue_manager_tid = 0;
pthread_cond_signal(&g_dp_queue_manager_cond);
CLIENT_MUTEX_UNLOCK(&g_dp_queue_manager_mutex);
- pthread_join(tid, (void **)&status);
+ pthread_join(tid, &status);
}
}