A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2010-March/720348.html below:

Queue peek?

Queue peek? Queue peek?Martin P. Hellwig martin.hellwig at dcuktec.org
Tue Mar 2 14:58:22 EST 2010
On 03/02/10 19:44, MRAB wrote:
<cut>
> information, such as when it was completed, the status (OK or failed),
> etc. You might want to wrap it in a class with locks (mutexes) to ensure
> it's threadsafe.
What actually happens if multiple threads at the same time, write to a 
shared dictionary (Not using the same key)?

I would think that if the hashing part of the dictionary has some sort 
of serialization (please forgive me if I misuse a term) it should 'just 
work'(tm)?

-- 
mph


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4