$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Number of cores
From: Ruediger Berlich (ruediger.berlich_at_[hidden])
Date: 2009-07-26 06:56:30
Ups - thanks. Should have seen that myself.
Best Regards,
Ruediger
Sebastian Redl wrote:
> Ruediger Berlich wrote:
>> Hi there,
>>
>> is there a possibility in Boost to find out the number of
>> processor(-core)s on a local system in a platform-independent way ? I'd
>> like to start a corresponding number of threads.
>>
> boost::thread::hardware_concurrency()
>
> Sebastian