On Sep 14, 2014, at 8:03 PM, Samuel Ghinet 
<sghi...@cloudbasesolutions.com<mailto:sghi...@cloudbasesolutions.com>> wrote:

I have a question here,
is a file HANDLE normally used by only one userspace thread at a time (so that 
if you have multiple threads, each thread will have its own unique file 
HANDLEs), or each thread may use the file HANDLEs opened by other threads?

Sam,
I am not sure if your question was specific to Windows file/device HANDLEs or 
specific to netlink handles in OVS userspace:
- Windows HANDLEs I'd think should support concurrent operations. Eg. two 
userspace processes can be doing ReadFile() on the same handle.
- There's code in userspace to make sure that a netlink handle does not get 
used concurrently. See nl_pool_alloc().

Thanks,
-- Nithin

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to