cvs commit: src/sys/kern subr_taskqueue.c

Simon Schubert corecode at crater.dragonflybsd.org
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 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_taskqueue.c.diff?r1=1.11&r2=1.12&f=u





More information about the Commits mailing list