cvs commit: src/sys/sys proc.h src/sys/kern kern_thread.c subr_sleepqueue.c

Daniel Eischen deischen at FreeBSD.org
Wed Apr 28 13:36:54 PDT 2004


deischen    2004/04/28 13:36:53 PDT

  FreeBSD src repository

  Modified files:
    sys/sys              proc.h 
    sys/kern             kern_thread.c subr_sleepqueue.c 
  Log:
  Keep track of threads waiting in kse_release() to avoid a race
  condition where kse_wakeup() doesn't yet see them in (interruptible)
  sleep queues.  Also add an upcall check to sleepqueue_catch_signals()
  suggested by jhb.
  
  This commit should fix recent mysql hangs.
  
  Reviewed by:    jhb, davidxu
  Mysql'd by:     Robin P. Blanchard <robin.blanchard at gactr uga edu>
  
  Revision  Changes    Path
  1.176     +37 -16    src/sys/kern/kern_thread.c
  1.5       +5 -1      src/sys/kern/subr_sleepqueue.c
  1.375     +6 -0      src/sys/sys/proc.h


More information about the cvs-all mailing list