summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2025-07-10 12:38:15 +0200
committerJean Boussier <jean.boussier@gmail.com>2025-07-10 17:18:20 +0200
commit1fb4929ace125a889855ba2a32d0f2a1bf76103a (patch)
treec60ecfbe4bd8e5209707f128c143bf31b433b130 /include
parent51252ef8d78877e28f853619f85a7ca939dec59a (diff)
Make `rb_enc_autoload_p` atomic
Using `encoding->max_enc_len` as a way to check if the encoding has been loaded isn't atomic, because it's not atomically set last. Intead we can use a dedicated atomic value inside the encoding table.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions