A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-March/109057.html below:

[Python-Dev] Bugs in thread_nt.h

[Python-Dev] Bugs in thread_nt.h [Python-Dev] Bugs in thread_nt.h"Martin v. Löwis" martin at v.loewis.de
Thu Mar 10 11:24:11 CET 2011
> This behavior (which "volatile" aggravates) unfortunately makes it
> even tougher to find race conditions. In my experience,
 > volatile should be avoided. I'd even bet money that some grumpy
> person has written a "volatile considered harmful" essay.

I guess all this advice doesn't really apply to this case, though.
The Microsoft API declares the parameter as a volatile*, indicating
that they consider it "proper" usage of the API to declare the storage
volatile. So ISTM that we should comply regardless of whether volatile
is considered "morally wrong" in the general case.

Regards,
Martin
More information about the Python-Dev 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