[dpdk-dev] [PATCH] lib/librte_vhost: combine select with sleep

2015-03-09 Thread Thomas Monjalon
> > combine sleep into select when there is no file descriptors to be monitored. > > > > Signed-off-by: Huawei Xie > > Acked-by: Konstantin Ananyev Applied, thanks

[dpdk-dev] [PATCH] lib/librte_vhost: combine select with sleep

2015-03-06 Thread Huawei Xie
combine sleep into select when there is no file descriptors to be monitored. Signed-off-by: Huawei Xie --- lib/librte_vhost/vhost_user/fd_man.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/librte_vhost/vhost_user/fd_man.c b/lib/librte_vhost/vhost_user/fd

[dpdk-dev] [PATCH] lib/librte_vhost: combine select with sleep

2015-03-06 Thread Ananyev, Konstantin
> -Original Message- > From: Xie, Huawei > Sent: Friday, March 06, 2015 5:52 AM > To: dev at dpdk.org > Cc: Ananyev, Konstantin; Xie, Huawei > Subject: [PATCH] lib/librte_vhost: combine select with sleep > > combine sleep into select when there is no file descriptors to be monitored. >