Subject: Re: poll() emulation code
To: Andreas Gustafsson <>
From: None <>
List: tech-userlevel
Date: 11/04/2002 02:01:04
>Does anyone have an implementation of poll() in terms of select()
>that's license-compatible with NetBSD?
>The reason I ask is that the parallel make code in NetBSD's make(1)
>currently supports using either poll() or select() by means of
>numerous #ifdefs.  Supporting both poll() and select() is probably
>useful for cross-building NetBSD on systems, but all the #ifdefs make
>maintaining the code harder than it should be (case in point: fixing
>bin/18895).  I would like to restructure this code to use only the
>poll() interface and address the portability issue using a poll()
>emulation layer.  I could write one, but I would prefer to use a
>well-tested existing one.

	if you disable parallel make on cross-build platform if poll(2) is not
	available, does it make the job easier?