We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f460776 commit ba1f91fCopy full SHA for ba1f91f
driver/others/memory.c
@@ -1056,12 +1056,13 @@ void *blas_memory_alloc(int procpos){
1056
1057
do {
1058
if (!memory[position].used && (memory[position].pos == mypos)) {
1059
-
1060
- blas_lock(&memory[position].lock);
+ LOCK_COMMAND(&alloc_lock);
+/* blas_lock(&memory[position].lock);*/
1061
1062
if (!memory[position].used) goto allocation;
1063
1064
- blas_unlock(&memory[position].lock);
+ UNLOCK_COMMAND(&alloc_lock);
1065
+/* blas_unlock(&memory[position].lock);*/
1066
}
1067
1068
position ++;
0 commit comments