 Chromium Code Reviews
 Chromium Code Reviews Issue 
            784243003:
    Ensure the Chromoting Host process eventually terminates when shut down.  (Closed)
    
  
    Issue 
            784243003:
    Ensure the Chromoting Host process eventually terminates when shut down.  (Closed) 
  | DescriptionEnsure the Chromoting Host process eventually terminates when shut down.
The host process is meant to shut down cleanly when receiving a SIGTERM,
or if there is a configuration error.
This CL implements a timed watchdog, running on a new thread, that
triggers a forced exit of the process, in case it fails to terminate
normally within a reasonable time (for example, if some thread is inside
a blocking call).
BUG=420090
TEST=The watchdog shouldn't normally trigger, but I manually added a Sleep() to some thread to verify that it triggers if a thread is blocked for too long.
Committed: https://crrev.com/df715881c00599155a76e3fae40ba904203e322f
Cr-Commit-Position: refs/heads/master@{#307819}
   Patch Set 1 #
      Total comments: 3
      
     Patch Set 2 : Increase lifetime of watchdog, named constant for timeout #
      Total comments: 1
      
     
 Messages
    Total messages: 13 (4 generated)
     | ||||||||||||||||||||||||||||||||||||||||||||||