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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to