25 Jul
2009
25 Jul
'09
6:57 p.m.
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. Thanks and Best Regards, Ruediger
10:56 a.m.
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
5594
Age (days ago)
5595
Last active (days ago)
2 comments
2 participants
participants (2)
-
Ruediger Berlich
-
Sebastian Redl