Index: libcfa/src/concurrency/thread.cfa
===================================================================
--- libcfa/src/concurrency/thread.cfa	(revision 0db48ca277851afe19811796bd58ac3e63be7448)
+++ libcfa/src/concurrency/thread.cfa	(revision 0ebbca40873f4e872ca756a8ae284370c8977e5f)
@@ -10,6 +10,6 @@
 // Created On       : Tue Jan 17 12:27:26 2017
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Sat Feb 12 08:45:33 2022
-// Update Count     : 65
+// Last Modified On : Sat Feb 12 15:24:18 2022
+// Update Count     : 66
 //
 
@@ -176,7 +176,8 @@
 
 void set_seed( uint32_t seed ) {
- 	active_thread()->random_state = __global_random_seed = seed;
-	GENERATOR( active_thread()->random_state );
-	__global_random_prime = active_thread()->random_state;
+	uint32_t & state = active_thread()->random_state;
+	state = __global_random_seed = seed;
+	GENERATOR( state );
+	__global_random_prime = state;
 	__global_random_mask = true;
 } // set_seed
