[PATCH] add get_nprocs, get_nprocs_conf

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Wed Nov 11 20:21:00 GMT 2009


On Wed, Nov 11, 2009 at 12:19:46PM -0600, Yaakov (Cygwin/X) wrote:
>On 11/11/2009 06:55, Eric Blake wrote:
>> +1 on the concept from me, although why does sys/sysinfo.h have to
>> forward to cygwin/sysinfo.h, rather than directly declaring the two functions?
>
>I simply followed the pattern of many of the sys/*.h headers, and by 
>their copyright dates are relatively newer, which redirected to a 
>cygwin/*.h equivalent.  If there is supposed to be some rhyme and reason 
>to which ones redirect and which ones do not, please feel free to clue 
>me in. :-)

The only time I add a cygwin/foo.h is when newlib has a version of the
same file and I don't feel like wildly ifdef'ing it.

It looks like Corinna has added a few of these so I guess she'll have
to provide the r&r.

cgf



More information about the Cygwin-patches mailing list