Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2006 22:11:08 +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/kern subr_taskqueue.c
Message-ID:  <200605242211.k4OMB8rY077596@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
sam         2006-05-24 22:11:08 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_taskqueue.c 
  Log:
  When starting up threads in taskqueue_start_threads create them
  stopped before adjusting their priority and setting them on the run
  q so they cannot race for resources (pointed out by njl).
  
  While here add a console printf on thread create fails; otherwise
  noone may notice (e.g. return value is always 0 and caller has no
  way to verify).
  
  Reviewed by:    jhb, scottl
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.37      +16 -9     src/sys/kern/subr_taskqueue.c



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