X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fovs-thread.h;h=d3bd538a4403eac41a5a25fb2036fc8e9099d7a1;hb=40a9237d2bac80c8cbfcdccffa2bc72173e08d98;hp=8868c5115c9b015d48414f3edb6c330297225b76;hpb=d9d404aecc0bc5df44b302f8e0e2316926ec81f4;p=sliver-openvswitch.git diff --git a/lib/ovs-thread.h b/lib/ovs-thread.h index 8868c5115..d3bd538a4 100644 --- a/lib/ovs-thread.h +++ b/lib/ovs-thread.h @@ -601,8 +601,10 @@ unsigned long long int ovsthread_counter_read( 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);