This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: implementation of std::thread::hardware_concurrency()
- From: Paolo Carlini <pcarlini at gmail dot com>
- To: niXman <i dot nixman at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 31 Oct 2011 22:20:59 +0100
- Subject: Re: implementation of std::thread::hardware_concurrency()
- References: <CAMPTgK2Fph+jQBtKQ+nHa7+BMdUCu=zT3dWaUO0pc7z=Xg8mWg@mail.gmail.com>
Hi,
> This is patch is implement the std::thread::hardware_concurrency().
> Tested on pthreads-win32/winpthreads on windows OS, and on Linux/FreeBSD.
Please send library patches to the library mailing list too. Also, always parch mainline first: actually in the latter the function is alread implemented, maybe something is missing for win32, please check, rediff, and resend.
Thanks
Paolo