From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vasiliy G Tolstov Subject: use xs_watch from userspace and use epoll instead of select Date: Fri, 03 Jun 2011 16:04:49 +0400 Message-ID: <1307102689.15777.3.camel@vase> Reply-To: v.tolstov@selfip.ru Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Hello. I have some examples of usage xs_watch in userspace that contains loop with select function usage. If i use epoll, no events returned from epoll_wait... Does it matter to use select from fd that used for watch? epoll fd added with ev.events = (EPOLLIN | EPOLLPRI | EPOLLONESHOT); -- Vasiliy G Tolstov Selfip.Ru