<s> import signal <EOL> from desktop . lib . thread_util import dump_traceback <EOL> def dump_threads_on_sigquit ( signum , frame ) : <EOL> """<STR_LIT>""" <EOL> dump_traceback ( ) <EOL> signal . signal ( signal . SIGUSR1 , dump_threads_on_sigquit ) </s>
