git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovs-rcu: New library.
[sliver-openvswitch.git]
/
lib
/
ovs-thread.h
diff --git
a/lib/ovs-thread.h
b/lib/ovs-thread.h
index
d3bd538
..
ca269b0
100644
(file)
--- a/
lib/ovs-thread.h
+++ b/
lib/ovs-thread.h
@@
-598,6
+598,8
@@
void ovsthread_counter_inc(struct ovsthread_counter *, unsigned long long int);
unsigned long long int ovsthread_counter_read(
const struct ovsthread_counter *);
\f
+bool single_threaded(void);
+
void assert_single_threaded_at(const char *where);
#define assert_single_threaded() assert_single_threaded_at(SOURCE_LOCATOR)