lib: Refactor gathering CPU core count
[sliver-openvswitch.git] / lib / ovs-thread.h
index 7f3195d..c6a7142 100644 (file)
@@ -496,5 +496,9 @@ pid_t xfork_at(const char *where);
 
 void forbid_forking(const char *reason);
 bool may_fork(void);
+\f
+/* Useful functions related to threading. */
+
+unsigned int count_cpu_cores(void);
 
 #endif /* ovs-thread.h */