Boost logo

Boost Users :

Subject: [Boost-users] Setting thread affinity on Linux using boost::thread
From: Lennyk (lennyk430_at_[hidden])
Date: 2009-02-15 12:14:59


Hi,

I'm running on Linux and I would like to set a specific thread affinity
to each thread I create (i.e. setting each thread to run on a different
core/CPU).
How can this be done using the boost::thread library?

Thanks!
Lenny.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net