[WIP,Testing] remove the lock around the thread shutdown function again (#5479)

* remove the lock around the thread shutdown function - server is locked already here
This commit is contained in:
Martin Kroeker
2025-10-30 11:12:47 -07:00
committed by GitHub
parent 0c59ae0b45
commit ef6f97624b

View File

@@ -984,8 +984,6 @@ int BLASFUNC(blas_thread_shutdown)(void){
int i;
LOCK_COMMAND(&server_lock);
//Free buffers allocated for threads
for(i=0; i<MAX_CPU_NUMBER; i++){
if(blas_thread_buffer[i]!=NULL){
@@ -1025,7 +1023,6 @@ int BLASFUNC(blas_thread_shutdown)(void){
blas_server_avail = 0;
}
UNLOCK_COMMAND(&server_lock);
return 0;
}