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

Mike Makonnen mtm at FreeBSD.org
Wed Oct 6 07:20:58 PDT 2004


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


More information about the cvs-all mailing list