komamitsu (Mitsunori Komatsu)
- Login: komamitsu
- Registered on: 05/06/2021
- Last sign in: 06/17/2022
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
06/07/2021
-
10:09 AM Ruby Feature #17853: Add Thread#thread_id
- Thank you, @naruse and @nobu!
05/23/2021
-
08:16 AM Ruby Feature #17853: Add Thread#thread_id
- `native_id` sounds better to me. I agree with it.
As for `m:n thread model`, in my opinion, either volatile value or `nil` (this can happen when it's waiting an event in `select/epoll/kqueue` without assigning any thread?) sounds good...
05/06/2021
-
08:19 AM Ruby Feature #17853 (Closed): Add Thread#thread_id
- # Abstract
New method `Thread#thread_id` to get associated native thread id (LWP.) It might return `nil` if OS doesn't support thread id or equivalent.
# Background
When I tried to investigate which Ruby thread of an application...