Experimental barrier
This commit is contained in:
parent
29a50dd048
commit
0e0681f535
|
@ -2740,7 +2740,7 @@ void *blas_memory_alloc(int procpos){
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf(" Position -> %d\n", position);
|
printf(" Position -> %d\n", position);
|
||||||
#endif
|
#endif
|
||||||
|
WMB;
|
||||||
memory[position].used = 1;
|
memory[position].used = 1;
|
||||||
#if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP)
|
#if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP)
|
||||||
UNLOCK_COMMAND(&alloc_lock);
|
UNLOCK_COMMAND(&alloc_lock);
|
||||||
|
|
Loading…
Reference in New Issue