lkml.org 
[lkml]   [2002]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Lse-tech] Re: [PATCH] epoll more scalable than poll
On Mon, 28 Oct 2002, Shailabh Nagar wrote:

> > Furthermore, there is some const weirdness going on, the ephttpd server has
> > a different second argument to sys_epoll_wait.
>
> You're right. The ephttpd server on Davide's page needs to add a cast
> (struct pollfd const **) to the second arg passed to sys_epoll_wait.
> The version of dphttpd used to generate the results had that fix in it.

It's true, I gave IBM the ephttpd that was using the first draft of the
interface that had a 'struct pollfd **' parameter. Later I changed the
implementation to 'struct pollfd const **' because I also changed the way
the mmap prot are used ( now mmap()ed PROT_READ only ).



- Davide


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.093 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site