lib: Expose ovs_mutex and ovsthread_once in <openvswitch/thread.h>
authorThomas Graf <tgraf@noironetworks.com>
Mon, 15 Dec 2014 13:10:38 +0000 (14:10 +0100)
committerThomas Graf <tgraf@noironetworks.com>
Mon, 15 Dec 2014 13:15:01 +0000 (14:15 +0100)
commit904e0804430e5526752fe75637df48a3e9467deb
tree8f77896a672db879e12d5222c6d5170cf47d8cdc
parent8f3676cfce4e6a9e8428d5f171d6246622486fbc
lib: Expose ovs_mutex and ovsthread_once in <openvswitch/thread.h>

This picks the ovs_mutex and ovsthread_once API from lib/ovs-thread.h
and exposes it in <openvswitch/thread.h>.

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Ben Pfaff <blp@nicira.com>
include/openvswitch/automake.mk
include/openvswitch/thread.h [new file with mode: 0644]
lib/ovs-thread.h