Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 17:26:21 -0800 (PST)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_exec.c kern_exit.c kern_fork.c kern_synch.c kern_thread.c
Message-ID:  <200304010126.h311QLxt050453@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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