Message263537
Right now the atomic access fence macros in pyatomic.h are unconditional. This means that they're active even even when you "./configure --without-threads". If Python thread support is disabled, surely we don't need to ensure atomic access to variables, because there aren't any other threads to compete with.
Shouldn't we add
#ifdef WITH_THREAD
/* current code goes here */
#else
#define _Py_atomic_load_relaxed(x) (x)
/* etc */
#endif
? |
|
Date |
User |
Action |
Args |
2016-04-16 03:29:24 | larry | set | recipients:
+ larry, vstinner, jyasskin |
2016-04-16 03:29:24 | larry | set | messageid: <1460777364.25.0.14094466129.issue26774@psf.upfronthosting.co.za> |
2016-04-16 03:29:23 | larry | link | issue26774 messages |
2016-04-16 03:29:22 | larry | create | |
|