Index: tests/concurrent/preempt.cfa
===================================================================
--- tests/concurrent/preempt.cfa	(revision c0f881beb18ec352cb27574b6c3a5e8e27d19a04)
+++ tests/concurrent/preempt.cfa	(revision 1612315240e2c22cd1c91ac79e6f50519f41cbe1)
@@ -26,14 +26,15 @@
 thread worker_t {
 	int value;
+	unsigned spin = 0;
 };
 
 void ?{}( worker_t & this, int value ) {
 	this.value = value;
+	this.spin = 0;
 }
 
 void main(worker_t & this) {
-	unsigned spin = 0;
 	while(TEST(counter < N)) {
-		if(spin > 100_000_000) abort | "Worker" | this.value | "has been spinning too long! (" | spin | ")";
+		if(this.spin > 100_000_000) abort | "Worker" | this.value | "has been spinning too long! (" | this.spin | ")";
 		__cfaabi_check_preemption();
 		if( (counter % 7) == this.value ) {
@@ -47,5 +48,5 @@
 		__cfaabi_check_preemption();
 		KICK_WATCHDOG;
-		spin++;
+		this.spin++;
 	}
 }
