Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src
> On Apr 22, 2020, at 7:52 AM, Kamil Rytarowski <n54%gmx.com@localhost> wrote:
>
> Would it be possible to keep a global unique TID as 64-bit integer
> (int64_t) equal to: pid << 32 | lwpid ?
>
> That way we could have predicatable numbers in the system and possibly
> simplify the involved code avoiding one extra unique 32-bit id.
Yes, I've been discussing this w/ ad@, chs@, and riastradh@. I have a different approach that's almost ready to go, and will remove this separate "TID". The system call was not yet exposed in libc, so it's not a problem to pull it out.
For various reasons, the ID must be limited to less than 32 bits.
-- thorpej
Home |
Main Index |
Thread Index |
Old Index