Commit 279694f3 for xz

commit 279694f381f9f4d81d55d82ada73ed553196f078
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   Sun Oct 25 16:39:54 2026 +0200

    liblzma: mt enc: Tweak a comment

diff --git a/src/liblzma/common/stream_encoder_mt.c b/src/liblzma/common/stream_encoder_mt.c
index 02ab9f84..570cdd5e 100644
--- a/src/liblzma/common/stream_encoder_mt.c
+++ b/src/liblzma/common/stream_encoder_mt.c
@@ -1097,7 +1097,11 @@ stream_encoder_mt_init(lzma_next_coder *next, const lzma_allocator *allocator,
 		coder->threads_initialized = 0;
 	}

-	// Allocate the thread-specific base structures.
+	// Allocate or reuse the thread-specific structures.
+	//
+	// NOTE: This must be done before all other (re)initializations
+	// because active worker threads access *coder.
+	//
 	// If the block size or the number of threads has changed,
 	// don't reuse the old threads:
 	//   - The size of worker_thread.in depends on coder->block_size.