git: kernel - Fix process blocking forever if ^Z'd at the wrong time

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Sep 9 21:50:46 PDT 2013


commit d4688a1e4e5d90b64a7d8b84d2a7441fc0ec0cd5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Sep 9 21:46:55 2013 -0700

    kernel - Fix process blocking forever if ^Z'd at the wrong time
    
    * tsleep()s with timeouts were testing the wrong state field
      when determining whether a stopped thread should be woken up or not.
    
    * Generally occured under certain circumstances when a ^Z'd process
      was then killed without first continuing it.

Summary of changes:
 sys/kern/kern_synch.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d4688a1e4e5d90b64a7d8b84d2a7441fc0ec0cd5


-- 
DragonFly BSD source repository



More information about the Commits mailing list