[PATCH] add get_nprocs, get_nprocs_conf
Wed Nov 11 15:11:00 GMT 2009
On Wed, Nov 11, 2009 at 05:55:08AM -0700, Eric Blake wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>According to Yaakov (Cygwin/X) on 11/11/2009 3:22 AM:
>> On 11/11/2009 03:41, Corinna Vinschen wrote:
>>> Thanks, but, wouldn't it be simpler to implement them as macros in
>> Implementing them as macros won't help an autoconf AC_CHECK_FUNC or
>> cmake CHECK_FUNCTION_EXISTS test.
>Also, the upcomining coreutils 8.1 will be adding nproc(1), to make
>scripting for parallel jobs easier by exposing these functions to shell
>users. +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?
Ditto on the +1 and the question.
More information about the Cygwin-patches