From c531795b8372eb0e69aa874476f3e96cd7c09dfc Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 29 Jul 2019 20:13:26 +0200 Subject: wip: initial multithreaded renderer --- render.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'render.h') diff --git a/render.h b/render.h index fd923e7d..0b7a40ca 100644 --- a/render.h +++ b/render.h @@ -10,3 +10,9 @@ void render_resize(struct terminal *term, int width, int height); void render_set_title(struct terminal *term, const char *title); void render_update_cursor_surface(struct terminal *term); void render_refresh(struct terminal *term); + +struct render_worker_context { + int my_id; + struct terminal *term; +}; +int render_worker_thread(void *_ctx); -- cgit v1.3