diff options
Diffstat (limited to 'src/nvim/ui_bridge.h')
| -rw-r--r-- | src/nvim/ui_bridge.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/nvim/ui_bridge.h b/src/nvim/ui_bridge.h index 76e9e27989..31b9a69216 100644 --- a/src/nvim/ui_bridge.h +++ b/src/nvim/ui_bridge.h @@ -22,6 +22,10 @@ struct ui_bridge_data {    // the call returns. This flag is used as a condition for the main    // thread to continue.    bool ready; +  // When a stop request is sent from the main thread, it must wait until the UI +  // thread finishes handling all events. This flag is set by the UI thread as a +  // signal that it will no longer send messages to the main thread. +  bool stopped;  };  #define CONTINUE(b)                                                    \ | 
