msg = net_nfc_client_read_response_msg(&result);
- pthread_mutex_lock(&cb_lock);
if (msg != NULL && msg->detail_message != NULL)
{
/* TODO : need to remove */
}
else
{
+ pthread_mutex_lock(&cb_lock);
#ifdef USE_GLIB_MAIN_LOOP
net_nfc_client_call_dispatcher_in_g_main_loop(client_cb, msg);
#elif USE_ECORE_MAIN_LOOP
#else
net_nfc_client_call_dispatcher_in_current_context(client_cb, msg);
#endif
+ pthread_mutex_unlock(&cb_lock);
}
}
else
}
DEBUG_ERR_MSG("cannot read response msg");
}
- pthread_mutex_unlock(&cb_lock);
}
}