On Sun, May 10, 2020 at 11:35 PM Xiang Xiao <xiaoxiang781...@gmail.com> wrote: > From this link: > https://linux.die.net/man/3/setlogmask > logmask has per task scope not per thread scope. So we still suffer the > concurrent issue if we change to group-specific logmask.
So if I understand correctly, that means that moving this to the TLS would make this non-standards-compliant. What are other systems doing about concurrent setlogmask calls? So far I couldn't find anything about that. Nathan