[Mono-devel-list] patch to add poll to Mono.Posix
jackson at ximian.com
Wed Sep 1 12:45:31 EDT 2004
On Wed, 2004-09-01 at 15:47 +0200, Paolo Molaro wrote:
> On 08/31/04 Jackson Harper wrote:
> > Does anyone have any issues with the attached patch?
> As Dick noted, the POLL* values may not be the same on all the
> platforms, same for the order of the fields inside struct pollfd.
> This is a general problem with the posix module, we need to rework how
> it's built anyway later.
> Also note that poll is not available on some architectures (macosx comes
> to mind, but there are others for sure).
> That said, both issues could be solved later on when we actually hit
I was under the impression that they were constant across platforms
from the docs I read, however docs can be misleading. I need this
function for System.Windows.Forms and only the X driver will use it, so
windows is not an issue however OSX is. Maybe it would be better to use
select, I am not sure how to implement FD_SET though....
Jackson Harper <jackson at ximian.com>
More information about the Mono-devel-list