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/109049.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 05:42:24 CET 2011
Am 09.03.11 20:25, schrieb Sturla Molden:
> These methods require the memory to be aligned
> on 32-byte boundaries.

You misread the documentation - it's a 32-*bit*
boundary that the LONG variable must be on. The malloc()
call that is currently used trivially meets this requirement.

As for the volatile marker - I believe the code is also
correct without it, since the owned field is only accessed
through initialization and Interlocked operations.

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