Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed race in dtoa [Bug #17612] | Nobuyoshi Nakada | 2021-02-10 | 1 | -3/+10 |
| | | | | | | | | | | 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> | ||||
* | dtoa.c: make thread-safe by using atomic CAS | Nobuyoshi Nakada | 2021-01-10 | 1 | -21/+54 |
| | |||||
* | dtoa.c: constified | Nobuyoshi Nakada | 2021-01-10 | 1 | -1/+1 |
| | | | | | clang seems to locate never modified local data in the const segment implicitly. | ||||
* | dtoa.c: make compilable independently | Nobuyoshi Nakada | 2021-01-10 | 1 | -6/+18 |
| | | | | Except for `-Dxmalloc=malloc -Dxfree=free`. | ||||
* | Split dtoa.c | nobu | 2019-02-07 | 1 | -0/+3417 |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |