aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-10-20 10:39:54 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-10-21 11:05:49 -0300
commitb527ac752fd5ebcc74c06306e7009e2b98e4ee01 (patch)
tree0785b3f76cb371967ad0b28446611d1a1af60a96 /src/nvim/api/vim.c
parent264e0d872c598062be2b2a118d38c89a6ed5a023 (diff)
downloadrneovim-b527ac752fd5ebcc74c06306e7009e2b98e4ee01.tar.gz
rneovim-b527ac752fd5ebcc74c06306e7009e2b98e4ee01.tar.bz2
rneovim-b527ac752fd5ebcc74c06306e7009e2b98e4ee01.zip
event: Extract event_poll loops to `event_poll_until` macro
A pattern that is becoming common across the project is to poll for events until a certain condition is true, optionally passing a timeout. To address this scenario, the event_poll_until macro was created and the job/channel/input modules were refactored to use it on their blocking functions.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions