summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bc40bd5)
raw | patch | inline | side by side (parent: bc40bd5)
author | Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com> | |
Tue, 6 Dec 2016 23:25:45 +0000 (23:25 +0000) | ||
committer | Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com> | |
Mon, 26 Dec 2016 13:26:06 +0000 (13:26 +0000) |
- the prototype of plugin_thread_create () has been changed in
latest master.
Change-Id: I492942442717c43cd6e6e73478248164b5083894
Signed-off-by: Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com>
latest master.
Change-Id: I492942442717c43cd6e6e73478248164b5083894
Signed-off-by: Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com>
src/utils_ovs.c | patch | blob | history |
diff --git a/src/utils_ovs.c b/src/utils_ovs.c
index 2b14849007c9c8a998db9d6836b979d59556e9b2..ff2b151eee5a28c67c05bf284237e57c3c7f27f6 100644 (file)
--- a/src/utils_ovs.c
+++ b/src/utils_ovs.c
}
/* 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);
}