On Wed, Feb 19, 2014 at 03:36:14PM -0800, Gurucharan Shetty wrote:
> Windows does not have a getrlimit() function. As such,
> there is no limit to number of file descriptors that
> can be opened. So, set an aritificial limit of 1024.
> This may be increased in the future if the limit is too
> low.
> 
> Co-authored-by: Linda Sun <l...@vmware.com>
> Signed-off-by: Linda Sun <l...@vmware.com>
> Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>

get_max_fds() is only used by process_start() in process.c and is only
relevant for the Unix "fork" model of creating processes, not for
Windows.  I'd rather move the function to process.c and #ifdef it out
entirely for Windows.  How does that sound?

Thanks,

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

Reply via email to