pin/bind a pthread to a processor?

John Giacomoni John.Giacomoni at colorado.edu
Fri Sep 8 13:18:06 PDT 2006


Is it possible to bind a pthread to a processor in 5.5 or 6.1?

I currently have a code base that uses libpthread with multiple  
threads, mutexes and condition variables.
The problem I'm having is that I seem to be suffering wall-clock  
timing aberrations that I believe are introduced by the scheduler.

Thanks,

John G

--

John.Giacomoni at colorado.edu
University of Colorado at Boulder
Department of Computer Science
Engineering Center, ECCR 1B50
430 UCB
Boulder, CO 80303-0430
USA

-------------- next part --------------





More information about the freebsd-hackers mailing list