Question: I have a database full of data looking like this Î‘Î½Ï„Î¹ÎºÎ±Ï„Î±Î²Î¿Î»Î and I need to find a way to convert it all into proper, utf8 data.

Is there a way to do it? The db is MySQL and is from an oscommerce merchant v2.2 installation.

Answer: 
The essential idea of queue is to share it between multiple threads.
The Queue class implements all the required locking semantics. 
So you don't have to acquire lock explicitly. 

<http://docs.python.org/library/queue.html#module-Queue>
The [`Queue`](http://docs.python.org/library/queue.html) module (called `queue` in Python 3) is specifically designed to work in multithreaded environments.

If that's what you're using, you don't need any additional locking.