ovs-rcu: New library.
[sliver-openvswitch.git] / lib / ovs-thread.h
index 8868c51..ca269b0 100644 (file)
@@ -598,11 +598,15 @@ 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)
 
+#ifndef _WIN32
 pid_t xfork_at(const char *where);
 #define xfork() xfork_at(SOURCE_LOCATOR)
+#endif
 
 void forbid_forking(const char *reason);
 bool may_fork(void);