ofproto-dpif: Use sequence number to wake up main thread for
[sliver-openvswitch.git] / lib / ovs-rcu.c
index ac4513b..269f51b 100644 (file)
@@ -127,6 +127,7 @@ ovsrcu_quiesce_start(void)
 void
 ovsrcu_quiesce(void)
 {
+    ovsrcu_init();
     ovsrcu_perthread_get()->seqno = seq_read(global_seqno);
     seq_change(global_seqno);
 
@@ -226,6 +227,7 @@ ovsrcu_call_postponed(void)
 static void *
 ovsrcu_postpone_thread(void *arg OVS_UNUSED)
 {
+    set_subprogram_name("urcu");
     pthread_detach(pthread_self());
 
     for (;;) {