Files
sdk/runtime/vm
Derek Xu 5577eafdba [VM] Add OSThread::GetCurrentThreadName() method
Some fields of `OSThread` are initialized by retrieving information by
calling OS functions. For example, `trace_id_` is initialized by calling
`OSThread::GetCurrentThreadTraceId()`. Similarly, this CL adds the
`OSThread::GetCurrentThreadName()` method and uses it to initialize
`name_`.

TEST=CI

Change-Id: Iee121d71e660be01ff684a298144fa7d59e3b61d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/278662
Commit-Queue: Derek Xu <derekx@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
2023-01-31 22:37:30 +00:00
..
2023-01-18 21:08:38 +00:00
2023-01-30 18:29:59 +00:00
2022-12-29 10:18:02 +00:00
2023-01-23 08:56:14 +00:00
2023-01-18 21:08:38 +00:00
2023-01-19 10:06:29 +00:00
2023-01-20 12:37:49 +00:00
2023-01-24 18:00:25 +00:00
2022-01-20 00:57:57 +00:00
2022-01-20 00:57:57 +00:00
2022-07-29 18:11:01 +00:00
2022-01-20 00:57:57 +00:00
2022-01-20 00:57:57 +00:00
2022-03-25 10:29:30 +00:00
2023-01-26 09:12:41 +00:00
2023-01-20 12:37:49 +00:00
2022-06-10 15:48:54 +00:00
2023-01-19 10:06:29 +00:00
2022-01-20 00:57:57 +00:00
2022-09-12 12:33:57 +00:00
2022-09-12 12:33:57 +00:00
2023-01-19 16:24:29 +00:00
2023-01-24 18:00:25 +00:00
2023-01-24 18:00:25 +00:00
2022-12-29 10:18:02 +00:00
2023-01-30 18:29:59 +00:00
2022-12-29 10:18:02 +00:00
2023-01-20 12:37:49 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2023-01-19 16:24:29 +00:00
2023-01-18 17:38:29 +00:00
2022-05-24 09:10:51 +00:00
2023-01-26 09:12:41 +00:00
2023-01-24 18:00:25 +00:00
2022-12-29 10:18:02 +00:00
2023-01-24 18:00:25 +00:00
2022-03-25 10:29:30 +00:00
2022-03-26 09:41:21 +00:00
2022-01-20 00:57:57 +00:00
2023-01-20 10:30:41 +00:00
2023-01-20 10:30:41 +00:00
2022-12-13 19:28:37 +00:00
2023-01-19 16:24:29 +00:00
2023-01-04 16:00:26 +00:00
2023-01-06 07:48:22 +00:00
2023-01-25 14:08:27 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2022-06-15 11:08:28 +00:00
2023-01-24 18:00:25 +00:00
2022-01-20 00:57:57 +00:00
2023-01-06 07:48:22 +00:00
2023-01-09 13:21:55 +00:00
2023-01-09 13:21:55 +00:00
2022-12-29 10:18:02 +00:00
2022-07-29 18:11:01 +00:00
2022-07-29 18:11:01 +00:00
2022-07-29 18:11:01 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2022-09-12 23:08:17 +00:00
2022-04-25 23:12:53 +00:00
2022-12-29 10:18:02 +00:00
2023-01-09 15:48:57 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2023-01-20 12:37:49 +00:00
2022-12-29 10:18:02 +00:00
2023-01-20 12:37:49 +00:00
2022-12-29 10:18:02 +00:00
2020-08-06 19:55:12 +00:00
2022-09-10 15:12:35 +00:00
2022-09-10 15:12:35 +00:00