cvs commit: src/sys/kern kern_exec.c kern_exit.c kern_fork.c kern_synch.c kern_thread.c

From: Jeff Roberson <jeff_at_FreeBSD.org>
Date: Mon, 31 Mar 2003 17:26:21 -0800 (PST)
jeff        2003/03/31 17:26:21 PST

  FreeBSD src repository

  Modified files:
    sys/kern             kern_exec.c kern_exit.c kern_fork.c 
                         kern_synch.c kern_thread.c 
  Log:
   - Borrow the KSE single threading code for exec and exit.  We use the check
     if (p->p_numthreads > 1) and not a flag because action is only necessary
     if there are other threads.  The rest of the system has no need to
     identify thr threaded processes.
   - In kern_thread.c use thr_exit1() instead of thread_exit() if P_THREADED
     is not set.
  
  Revision  Changes    Path
  1.218     +1 -1      src/sys/kern/kern_exec.c
  1.208     +4 -2      src/sys/kern/kern_exit.c
  1.189     +5 -0      src/sys/kern/kern_fork.c
  1.216     +1 -1      src/sys/kern/kern_synch.c
  1.111     +7 -3      src/sys/kern/kern_thread.c
Received on Mon Mar 31 2003 - 17:26:21 UTC