root / offlineimap / threadutil.py

threadutil.py

View | Annotate | Download (9.9 KB)

# Date Author Comment
5db24303 12/01/2008 04:10 PM John Goerzen

Patch to make exit on Ctrl-C cleaner
From Jim Pryor

The first, "cleanup.patch", cleans up a few spots that tend to throw
exceptions for me as offlineimap is exiting from a KeyboardInterrupt.

9551e9d3 08/11/2008 08:38 PM John Goerzen

task_done wasn't in Python before 2.5

1b9f04a5 08/05/2008 12:07 AM John Goerzen

Removed debug statements

fe573424 08/05/2008 12:05 AM John Goerzen

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.

8114877f 08/02/2008 03:10 PM John Goerzen

Rework threadutil to use Queue for simplification and power-friendliness

Removes code and should avoid weird Python situation that causes cpu
wakeups

fixes deb#434074
fixes #66

39a18fef 08/12/2006 05:15 AM John Goerzen

Update FSF address

d839be3c 04/16/2005 08:33 PM John Goerzen

Step 2 of SVN to arch tree conversion

c42ad3ae 02/10/2005 05:37 AM John Goerzen

Removed dep on profile

Keywords:

(/offlineimap--head--1.0--patch-8)