Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 13:17:05 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_proc.c
Message-ID:  <200304182017.h3IKH5CK034800@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2003/04/18 13:17:05 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_proc.c 
  Log:
  - Add a static function pgadjustjobc() to adjust the job control count for
    a process group.
  - Call pgadjustjobc() twice in fixjobc() to avoid code duplication and
    improve readability.
  - Use the proc lock to protect P_SHOULDSTOP() instead of sched_lock.
  - Check to see if a process is PRS_NEW with sched_lock before trying to
    lock its proc lock since the lock may not be constructed yet.
  
  Revision  Changes    Path
  1.179     +42 -36    src/sys/kern/kern_proc.c



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