Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以为使用创建的线程分配名称_beginThread?我没有选择使用此功能,但我试图密切关注哪些线程正在关闭,当我没有关联名称时,这可能会让人感到困惑。
_beginThread
这是你要找的:
它通过引发并简单地处理一个非常特殊的异常 0x406D1388 来工作,该异常是调试器已知的。调试器在第一次机会处理期间检索名称并在“线程”窗口中显示该名称。