rename: SplitEvent => MulticastEvent #10989

"Multicast" is perhaps a more conventional name for the concept.
"One-shot" is the conventional name for how the event is (currently)
scheduled.
This commit is contained in:
Justin M. Keyes
2019-09-11 15:39:23 -07:00
committed by GitHub
parent 7652904f79
commit b78be5bd08
2 changed files with 13 additions and 12 deletions

View File

@@ -358,7 +358,8 @@ static void handle_request(Channel *channel, msgpack_object *request)
} else {
bool is_resize = handler.fn == handle_nvim_ui_try_resize;
if (is_resize) {
Event ev = event_split(event_create(request_event, 1, evdata), 2);
Event ev = event_create_oneshot(event_create(request_event, 1, evdata),
2);
multiqueue_put_event(channel->events, ev);
multiqueue_put_event(resize_events, ev);
} else {