/**
* @var g_threadPool
- * @brief ThreadPool for storing u_thread_pool_t handle passed from adapter
+ * @brief ThreadPool for storing ca_thread_pool_t handle passed from adapter
*/
-static u_thread_pool_t g_threadPool = NULL;
+static ca_thread_pool_t g_threadPool = NULL;
/**
* @var g_stopNetworkMonitor
static void CANetworkMonitorThread(void *threadData);
-CAResult_t CAEthernetInitializeNetworkMonitor(const u_thread_pool_t threadPool)
+CAResult_t CAEthernetInitializeNetworkMonitor(const ca_thread_pool_t threadPool)
{
OIC_LOG(DEBUG, ETHERNET_MONITOR_TAG, "IN");
return CA_STATUS_FAILED;
}
- if (CA_STATUS_OK != u_thread_pool_add_task(g_threadPool, (void *) CANetworkMonitorThread,
+ if (CA_STATUS_OK != ca_thread_pool_add_task(g_threadPool, (void *) CANetworkMonitorThread,
(void *)NULL))
{
OIC_LOG(ERROR, ETHERNET_MONITOR_TAG, "[ThreadPool] thread_pool_add_task failed!");