]> code.delx.au - offlineimap/commit
Yet another Python threading workaround.
authorJohn Goerzen <jgoerzen@complete.org>
Tue, 5 Aug 2008 05:05:29 +0000 (00:05 -0500)
committerJohn Goerzen <jgoerzen@complete.org>
Tue, 5 Aug 2008 05:05:29 +0000 (00:05 -0500)
commitfe57342448dd72231f94a6d8de12795376a65a63
tree4185faed3fdd4ac2e93f2a733c922035197bb238
parentb267fd25a6de74caafcf8e4f53df98c307dd2740
Yet another Python threading workaround.

module threading should be taken out back and shot.

Condition.wait() is a busywait loop that has negative implications for
battery consumption on laptops.

Queue.get() in blocking mode blocks SIGINT from being delivered.

Argh, argh, argh.

Closes: #493801.
offlineimap/threadutil.py