From f5bbbcd3aeb083ac4a185a3969b8cb184b7b0895 Mon Sep 17 00:00:00 2001 From: "Mytnyk, VolodymyrX" Date: Tue, 6 Dec 2016 23:25:45 +0000 Subject: [PATCH] ovs_events: fix using of plugin_thread_create () - the prototype of plugin_thread_create () has been changed in latest master. Change-Id: I492942442717c43cd6e6e73478248164b5083894 Signed-off-by: Mytnyk, VolodymyrX --- src/utils_ovs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils_ovs.c b/src/utils_ovs.c index 2b148490..ff2b151e 100644 --- a/src/utils_ovs.c +++ b/src/utils_ovs.c @@ -918,7 +918,8 @@ static int ovs_db_event_thread_init(ovs_db_t *pdb) { } /* 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); @@ -957,7 +958,8 @@ static int ovs_db_poll_thread_init(ovs_db_t *pdb) { /* 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); } -- 2.11.0