| Summary: | [WTF] Retrieve the main thread ID from TEB in Windows | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||
| Component: | New Bugs | Assignee: | Yusuke Suzuki <ysuzuki> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | ap, benjamin, bfulgham, cdumez, cmarcelo, don.olmstead, ews-watchlist, Hironori.Fujii, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Yusuke Suzuki
2022-02-07 01:42:24 PST
Created attachment 451070 [details]
Patch
Comment on attachment 451070 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=451070&action=review > Source/WTF/wtf/win/MainThreadWin.cpp:42 > + // https://en.wikipedia.org/wiki/Win32_Thread_Information_Block Makes me wonder if it is teb or tib. Comment on attachment 451070 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=451070&action=review >> Source/WTF/wtf/win/MainThreadWin.cpp:42 >> + // https://en.wikipedia.org/wiki/Win32_Thread_Information_Block > > Makes me wonder if it is teb or tib. It is referring to the same thing, but TIB in Windows 9x and TEB in Windows NT~. So, TEB :) Comment on attachment 451070 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=451070&action=review >>> Source/WTF/wtf/win/MainThreadWin.cpp:42 >>> + // https://en.wikipedia.org/wiki/Win32_Thread_Information_Block >> >> Makes me wonder if it is teb or tib. > > It is referring to the same thing, but TIB in Windows 9x and TEB in Windows NT~. > So, TEB :) Ah, precisely, TEB for Win32. @Yusuke: Is this ready to land? Weird that it never committed when everything was green. Note: We only really care about Win10+, since older Windows aren't really supported by MS anymore. |