}
/* start event thread */
pthread_t tid;
- if (plugin_thread_create(&tid, NULL, ovs_event_worker, pdb) != 0) {
+ if (plugin_thread_create(&tid, NULL, ovs_event_worker, pdb,
+ "utils_ovs:event") != 0) {
pthread_mutex_unlock(&pdb->event_thread.mutex);
pthread_mutex_destroy(&pdb->event_thread.mutex);
pthread_cond_destroy(&pdb->event_thread.cond);
/* start poll thread */
pthread_t tid;
pdb->poll_thread.state = OVS_DB_POLL_STATE_RUNNING;
- if (plugin_thread_create(&tid, NULL, ovs_poll_worker, pdb) != 0) {
+ if (plugin_thread_create(&tid, NULL, ovs_poll_worker, pdb,
+ "utils_ovs:poll") != 0) {
pthread_mutex_destroy(&pdb->poll_thread.mutex);
return (-1);
}