| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -51/+0 | |
| 2022-06-04 | Update src/test/debuginfo/thread-names.rs | Wesley Wiser | -0/+11 | |
| Co-authored-by: Chris Denton <ChrisDenton@users.noreply.github.com> | ||||
| 2022-05-27 | Call the OS function to set the main thread's name on program init | Wesley Wiser | -0/+40 | |
| Normally, `Thread::spawn` takes care of setting the thread's name, if one was provided, but since the main thread wasn't created by calling `Thread::spawn`, we need to call that function in `std::rt::init`. This is mainly useful for system tools like debuggers and profilers which might show the thread name to a user. Prior to these changes, gdb and WinDbg would show all thread names except the main thread's name to a user. I've validated that this patch resolves the issue for both debuggers. | ||||
