cvs commit: src/sys/kern subr_taskqueue.c

Simon Schubert corecode at
Fri Feb 23 20:40:39 PST 2007

corecode    2007/02/23 20:36:21 PST

DragonFly src repository

  Modified files:
    sys/kern             subr_taskqueue.c 
  Fix taskqueues to truely work on SMP systems.
  The taskqueue_task_td threads were created with kthread_create(), which
  defaults to creating the thread on the current CPU.  Achieve correct
  operation by using lwkt_create(), which allows specification of the
  CPU the thread should run on.
  Add a comment about the suggested usage of task structures.
  Revision  Changes    Path
  1.12      +9 -2      src/sys/kern/subr_taskqueue.c

More information about the Commits mailing list