Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2004 14:20:58 +0000 (UTC)
From:      Mike Makonnen <mtm@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libthr/thread thr_exit.csrc/sys/compat/freebsd32 syscalls.master src/sys/kern kern_thr.c src/sys/sys thr.h
Message-ID:  <200410061420.i96EKwvd040396@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mtm         2004-10-06 14:20:58 UTC

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_exit.c 
    sys/compat/freebsd32 syscalls.master 
    sys/kern             kern_thr.c 
    sys/sys              thr.h 
  Log:
  Close a race between a thread exiting and the freeing of it's stack.
  After some discussion the best option seems to be to signal the thread's
  death from within the kernel. This requires that thr_exit() take an
  argument.
  
  Discussed with: davidxu, deischen, marcel
  MFC after: 3 days
  
  Revision  Changes    Path
  1.14      +2 -3      src/lib/libthr/thread/thr_exit.c
  1.41      +1 -1      src/sys/compat/freebsd32/syscalls.master
  1.29      +5 -1      src/sys/kern/kern_thr.c
  1.4       +1 -1      src/sys/sys/thr.h



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