Sergey Bugaev, le dim. 09 mai 2021 16:54:02 +0300, a ecrit:
> I've noticed that THREAD_GSCOPE_IN_TCB is actually being used not to
> check whether the thread global scope state is being stored in TCB,
> but rather as a general flag to distinguish between NPTL and HTL.

It used to really be for the TCB, but then things apparently diverged
yes.

> perhaps instead of having an environment variable, the right thing to
> do would be to move this code into platform-specific files.

That might be better yes. Perhaps bring this discussion to the
libc-alpha mailing list.

Samuel

Reply via email to