HomePhabricator

Don't use signal.pause to pause the main thread

Description

Don't use signal.pause to pause the main thread

Use the a high timeout on the stop event in an infinite loop and then check
if the event is set. We can't use None as the timeout because otherwise all
threads will be blocked.

Details

Provenance
saghulAuthored on Jul 24 2013, 1:02 PM
Parents
rSYLK45cc3be1820b: Don't stop server if all Thor event servers are down
Branches
Unknown
Tags
Unknown