git: taskqueue - Improve _start_threads, refactor code
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Fri Oct 2 06:35:22 PDT 2009
Alex Hornung wrote:
commit 6b26ab14487d24407e2ddbb5a33147badae41622
Author: Alex Hornung <ahornung at gmail.com>
Date: Fri Oct 2 13:20:30 2009 +0100
taskqueue - Improve _start_threads, refactor code
* Change taskqueue_start_threads to take another argument, ncpu, which
specifies on what cpu the thread(s) should be created.
If ncpu is <= -1 and count is > 1, then each of the count threads is
allocated in a round robin fashion to each cpu.
* Switch the per-cpu taskqueues to use the new taskqueue threads API.
thanks!
--
<3 the future +++ RENT this banner advert +++ ASCII Ribbon /"\
rock the past +++ space for low CHF NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
More information about the Commits
mailing list