Boost logo

Boost :

Subject: Re: [boost] [thread] thread pining (processor affinity)
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2008-11-18 05:07:04


k-oli_at_[hidden] wrote:
> Hello Anthony,
> are you interessted in a function
> boost::this_thread::pin_to_processor( int)?

Why not "set_affinity(<some type> processor_mask)"? It's more general and
uses well-established terminology.

Also, while you're at it, something like this would be valuable to be able
to specify when creating a thread as well.

/ Johan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk