|
From: | Richard Henderson |
Subject: | Re: [RFC 0/2] tls: add macros for coroutine-safe TLS variables |
Date: | Tue, 26 Oct 2021 08:10:16 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 10/26/21 6:22 AM, Stefan Hajnoczi wrote:
If "safe" TLS variables are opt-in then we'll likely have obscure bugs when code changes to access a TLS variable that was previously never accessed from a coroutine. There is no compiler error and no way to detect this. When it happens debugging it is painful.
Co-routines are never used in user-only builds. r~
[Prev in Thread] | Current Thread | [Next in Thread] |