From 6e960f06e760c1d47e26904cca83476ee3953ec2 Mon Sep 17 00:00:00 2001 From: Daan Date: Thu, 16 May 2024 15:13:03 -0700 Subject: [PATCH] add note on using linker section instead of fiber api --- src/prim/windows/prim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/prim/windows/prim.c b/src/prim/windows/prim.c index 05aab43a..e82ad969 100644 --- a/src/prim/windows/prim.c +++ b/src/prim/windows/prim.c @@ -572,6 +572,7 @@ bool _mi_prim_random_buf(void* buf, size_t buf_len) { #if !defined(MI_SHARED_LIB) // use thread local storage keys to detect thread ending +// note: another design could be to use special linker sections (see issue #869) #include #if (_WIN32_WINNT < 0x600) // before Windows Vista WINBASEAPI DWORD WINAPI FlsAlloc( _In_opt_ PFLS_CALLBACK_FUNCTION lpCallback );