summaryrefslogtreecommitdiff
path: root/missing/dtoa.c
AgeCommit message (Collapse)Author
2021-02-10Fixed race in dtoa [Bug #17612]Nobuyoshi Nakada
Fixed the race condition when replacing `freelist` entry with its chained next element. At acquiring an entry, hold the entry once with the special value, then release by replacing it with the next element again after acquired. If another thread is holding the same entry at that time, spinning until the entry gets released. Co-Authored-By: Koichi Sasada <ko1@atdot.net> Notes: Merged: https://github.com/ruby/ruby/pull/4167
2021-01-10dtoa.c: make thread-safe by using atomic CASNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4046
2021-01-10dtoa.c: constifiedNobuyoshi Nakada
clang seems to locate never modified local data in the const segment implicitly.
2021-01-10dtoa.c: make compilable independentlyNobuyoshi Nakada
Except for `-Dxmalloc=malloc -Dxfree=free`.
2019-02-07Split dtoa.cnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e