[ovs-git] [openvswitch/ovs] 1b870a: lib: Remove extra API dependency for ovs_thread_cr...

GitHub noreply at github.com
Tue Jul 5 23:33:42 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 1b870ac0ca7d9e7a4de307fce480d915e69d3c6e
      https://github.com/openvswitch/ovs/commit/1b870ac0ca7d9e7a4de307fce480d915e69d3c6e
  Author: Andy Zhou <azhou at ovn.org>
  Date:   2016-07-05 (Tue, 05 Jul 2016)

  Changed paths:
    M lib/ovs-thread.c
    M tests/test-rcu.c

  Log Message:
  -----------
  lib: Remove extra API dependency for ovs_thread_create()

When calling ovs_thread_create() without calling fatal_signal_init()
first, ovs_thread_create() some times asserts. This dependency is
subtle and not very obvious.

The root cause seems to be that, within ovs_thread_create(), the
multi-threaded state is declared before all initializations are done.

Signed-off-by: Andy Zhou <azhou at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list