Lets try an actual read barrier rather than rw - does it fail ?
This commit is contained in:
parent
ed21cff78c
commit
a3fd074bcb
|
@ -2716,7 +2716,7 @@ void *blas_memory_alloc(int procpos){
|
||||||
#if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP)
|
#if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP)
|
||||||
LOCK_COMMAND(&alloc_lock);
|
LOCK_COMMAND(&alloc_lock);
|
||||||
#endif
|
#endif
|
||||||
MB; //for ARM etc - probably needs to be WMB
|
RMB; //for ARM etc - probably needs to be WMB
|
||||||
do {
|
do {
|
||||||
#if defined(USE_OPENMP)
|
#if defined(USE_OPENMP)
|
||||||
if (!memory[position].used) {
|
if (!memory[position].used) {
|
||||||
|
|
Loading…
Reference in New Issue