cvs commit: src/sys/kern kern_exit.c

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Mar 20 03:21:55 PDT 2008


Matthew Dillon wrote:
  Log:
  A threaded process going into SZOMB may still have active threads which are
  in the midst of exiting.  Wait for those threads to exit before trying to
  reap the master thread.
  
  This fixes a crash where kern_wait() improperly reaps threads other then the
  master thread.
I think we shouldn't even set the state to SZOMB while there are running 
threads.

cheers
  simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \





More information about the Commits mailing list