model-layer/scalable-tf-module/FTcom/util.cpp
/* Lock operations for thread-safe access to the cache table */
Lock operations for thread-safe access to the cache table
Lock operations for thread - safe access to the cache table
void acquireSpinLock(spinLock &lock){
        while (lock.test_and_set(std::memory_order_acquire) ){
                ;   
        }   
        return;
}
void acquireSpinLock ( spinLock & lock ) { while ( lock . test_and_set ( std :: memory_order_acquire ) ) { ; } return ; }
Lock operations for thread-safe access to the cache table
Lock operations for thread - safe access to the cache table