commit a533719b0146720d9bdac2c3228dc57170cb1419
parent b7fe00e74ed35fe4181059f2b757c9b207b0ef4c
Author: anon <anon@example.com>
Date: Tue, 13 Oct 2026 14:11:59 +0000
Record the native resource worker CRT thread creation boundary
Diffstat:
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/docs/browser-porting.md b/docs/browser-porting.md
@@ -1105,3 +1105,20 @@ contains `0x8e790`, `0x8e400`, `0x8e4b0`, `0x3450`, `0x8e540`, `0x8e5c0`,
These are raw code/table observations. Interpreting the object as a thread
descriptor free-list allocator is an inference from its role in `spawn_i`;
the template class name has not been recovered.
+
+The native resource-worker spawn path reaches MSVCRT `_beginthreadex` from
+`ACE_OS::thr_create` at RVA `0x55e00`, with guest return address `0x465edf`.
+This call is a cdecl function with six 32-bit arguments: security attributes,
+stack size, entry address, entry parameter, creation flags and thread-ID
+output pointer. The new thread's entry uses stdcall with one argument and
+returns an unsigned exit code. Success returns a real thread handle; failure
+returns zero. A zero creation flag starts execution immediately, while
+`CREATE_SUSPENDED` requires a later resume. The caller closes the handle.
+See [MSVCRT thread creation](https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/beginthread-beginthreadex).
+
+This is the verified browser startup boundary after the descriptor-pool
+callbacks. Continuing requires a separately runnable guest thread with its
+own CPU context, stack, TEB/FS base and TLS, while sharing the process memory
+and synchronization state. The existing native host thread launcher does
+not supply a browser worker launcher. Resource-worker startup should be
+verified before treating later resource loading or world rendering as working.