DragonFly commits List (threaded) for 2007-02
DragonFly BSD
DragonFly commits List (threaded) for 2007-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern subr_taskqueue.c


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Feb 2007 20:36:22 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]