mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-29 10:02:57 +03:00
cb3512f01e
The previous code was assuming it was fine to push_next without growing, which used to be the case with the previous implementation because we always have poped the current thread that we try to push. However now that we use a ring-buffer, m_next_begin == m_next_end can either mean full, or empty. We solve this by assuming it means empty and never allowing the buffer to become full, which means we need to grow after pushing to next if we get full. Fixes #4859 |
||
---|---|---|
.. | ||
cmd | ||
in | ||
out | ||
rc |