Convert to read barrier, will probably fail now

This commit is contained in:
Martin Kroeker 2020-04-10 15:52:03 +02:00 committed by GitHub
parent eb0ae9e711
commit fa38477aef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
WMB; MB; //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) {