fix synchronization
This commit is contained in:
		@@ -113,7 +113,9 @@ int main() {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    *local_sync_bit++;
 | 
			
		||||
    while (*target_sync_bit < *local_sync_bit);
 | 
			
		||||
    while (*target_sync_bit < *local_sync_bit) {
 | 
			
		||||
        asm("nop");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    printf("End of execution");
 | 
			
		||||
	return 0;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user