From: Ian Campbell Subject: Re: use xs_watch from userspace and use epoll instead of select Date: Fri, 3 Jun 2011 13:13:59 +0100 Message-ID: <1307103239.775.382.camel@zakaz.uk.xensource.com> References: <1307102689.15777.3.camel@vase> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1307102689.15777.3.camel@vase> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "v.tolstov@selfip.ru" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Fri, 2011-06-03 at 13:04 +0100, Vasiliy G Tolstov wrote: > 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); I think you need to provide an example of the code which doesn't work. Ian.