commit 90406f1a61f85f8d285d8318d9c558d67e8f56a5
parent b169056c5a72e031ba52df9db6b10d0ea57b67d8
Author: anon <anon@example.com>
Date: Tue, 13 Oct 2026 15:01:48 +0000
Implement the native FILETIME clock used by ACE
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/docs/browser-threads.md b/docs/browser-threads.md
@@ -87,6 +87,12 @@ is nonzero, writes exactly four bytes. See Microsoft's
[historical time_t width](https://learn.microsoft.com/en-us/cpp/c-runtime-library/time-management)
and [time contract](https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/time-time32-time64).
+After that import, browser startup reaches ACE's `GetSystemTimeAsFileTime`
+call with guest return address `0x41176e`. Its output is eight bytes, low
+DWORD first, counting 100-nanosecond intervals since 1601-01-01 UTC. Converting
+Unix milliseconds requires multiplying by 10,000 and adding
+116,444,736,000,000,000. See the [FILETIME layout](https://learn.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime).
+
Still unverified: live DLL thread callbacks, ACE TLS destructor callbacks,
resource queue processing and rendering. Named event/mutex sharing,
`WaitForMultipleObjects`, abandoned mutexes and `_beginthread` also require