cvs commit: src/sys/kern kern_proc.c

John Baldwin jhb at FreeBSD.org
Fri Apr 18 13:17:06 PDT 2003


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


More information about the cvs-src mailing list