Index: libcfa/src/concurrency/io.cfa
===================================================================
--- libcfa/src/concurrency/io.cfa	(revision 1959528943f80644f53138c6bb1c3c33883c8ceb)
+++ libcfa/src/concurrency/io.cfa	(revision 00f5fdefb1f00c535cfc71935924c58091e7c4ad)
@@ -548,4 +548,6 @@
 			/* paranoid */ verify( proc == __cfaabi_tls.this_processor );
 			/* paranoid */ verify( ! __preemption_enabled() );
+
+			return true;
 		}
 	#endif
Index: libcfa/src/concurrency/kernel.cfa
===================================================================
--- libcfa/src/concurrency/kernel.cfa	(revision 1959528943f80644f53138c6bb1c3c33883c8ceb)
+++ libcfa/src/concurrency/kernel.cfa	(revision 00f5fdefb1f00c535cfc71935924c58091e7c4ad)
@@ -554,5 +554,4 @@
 	/* paranoid */ verify( 0x0D15EA5E0D15EA5Ep == thrd->canary );
 
-	const bool local = thrd->state != Start;
 	if (thrd->preempted == __NO_PREEMPTION) thrd->state = Ready;
 
@@ -737,5 +736,9 @@
 
 	// Check if there is a sleeping processor
-	int fd = __atomic_load_n(&this->procs.fd, __ATOMIC_SEQ_CST);
+	// int fd = __atomic_load_n(&this->procs.fd, __ATOMIC_SEQ_CST);
+	int fd = 0;
+	if( __atomic_load_n(&this->procs.fd, __ATOMIC_SEQ_CST) != 0 ) {
+		fd = __atomic_exchange_n(&this->procs.fd, 0, __ATOMIC_RELAXED);
+	}
 
 	// If no one is sleeping, we are done
Index: libcfa/src/concurrency/ready_queue.cfa
===================================================================
--- libcfa/src/concurrency/ready_queue.cfa	(revision 1959528943f80644f53138c6bb1c3c33883c8ceb)
+++ libcfa/src/concurrency/ready_queue.cfa	(revision 00f5fdefb1f00c535cfc71935924c58091e7c4ad)
@@ -681,5 +681,7 @@
 	// Actually pop the list
 	struct thread$ * thrd;
-	unsigned long long tsc_before = ts(lane);
+	#if defined(USE_WORK_STEALING) || defined(USE_CPU_WORK_STEALING)
+		unsigned long long tsc_before = ts(lane);
+	#endif
 	unsigned long long tsv;
 	[thrd, tsv] = pop(lane);
Index: libcfa/src/concurrency/thread.cfa
===================================================================
--- libcfa/src/concurrency/thread.cfa	(revision 1959528943f80644f53138c6bb1c3c33883c8ceb)
+++ libcfa/src/concurrency/thread.cfa	(revision 00f5fdefb1f00c535cfc71935924c58091e7c4ad)
@@ -10,6 +10,6 @@
 // Created On       : Tue Jan 17 12:27:26 2017
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Wed Jan 12 18:28:18 2022
-// Update Count     : 35
+// Last Modified On : Wed Jan 12 18:46:48 2022
+// Update Count     : 36
 //
 
@@ -197,5 +197,8 @@
 } // LCG
 
-void set_seed( uint32_t seed ) { active_thread()->random_state = seed; __global_random_seed = seed; }
+void set_seed( uint32_t seed ) {
+ 	active_thread()->random_state = __global_random_seed = seed;
+	GENERATOR( active_thread()->random_state );
+} // set_seed
 uint32_t prng( void ) { return GENERATOR( active_thread()->random_state ); } // [0,UINT_MAX]
 
