This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] add get_nprocs, get_nprocs_conf
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 11 Nov 2009 10:41:20 +0100
- Subject: Re: [PATCH] add get_nprocs, get_nprocs_conf
- References: <4AFA6675.6070408@users.sourceforge.net>
- Reply-to: cygwin-patches at cygwin dot com
On Nov 11 01:23, Yaakov S wrote:
> get_nprocs and get_nprocs_conf are GNU extensions which do the same
> thing as sysconf(_SC_NPROCESSORS_CONF/_ONLN).[1]
>
> Patch attached.
Thanks, but, wouldn't it be simpler to implement them as macros in
sys/sysinfo.h?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat