Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2005 00:38:11 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys taskqueue.h src/sys/kern subr_taskqueue.c
Message-ID:  <200505010038.j410cB16001983@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
sam         2005-05-01 00:38:11 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              taskqueue.h 
    sys/kern             subr_taskqueue.c 
  Log:
  o enable shutdown of taskqueue threads; the thread servicing the queue checks
    a new entry in the taskqueue struct each time it wakes up to see if it
    should terminate
  o adjust TASKQUEUE_DEFINE_THREAD & co. to record the thread/proc identity for
    the shutdown rendezvous
  o replace wakeup after adding a task to a queue with wakeup_one; this helps
    queues where multiple threads are used to service tasks (e.g. acpi)
  o remove NULL check of tq_enqueue method; it should never be NULL
  
  Reviewed by:    dfr, njl
  
  Revision  Changes    Path
  1.27      +38 -10    src/sys/kern/subr_taskqueue.c
  1.14      +5 -3      src/sys/sys/taskqueue.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505010038.j410cB16001983>