summaryrefslogtreecommitdiff
path: root/src/threads.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-10-01 16:35:08 -0700
committerVito Caputo <vcaputo@pengaru.com>2021-10-01 16:35:08 -0700
commitb686b405c6a22b26e9b8082c92ed91513608bea3 (patch)
tree0000f671501863a8ee9b536ba869221d0f6710f9 /src/threads.h
parentd1da5500261e96efe0ede06fbebb32f0e191f3c1 (diff)
*: librototiller->libtil
Largely mechanical rename of librototiller -> libtil, but introducing a til_ prefix to all librototiller (now libtil) functions and types where a rototiller prefix was absent. This is just a step towards a more libized librototiller, and til is just a nicer to type/read prefix than rototiller_.
Diffstat (limited to 'src/threads.h')
-rw-r--r--src/threads.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/threads.h b/src/threads.h
deleted file mode 100644
index f0ffe6f..0000000
--- a/src/threads.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef _THREADS_H
-#define _THREADS_H
-
-typedef struct fb_fragment_t fb_fragment_t;
-typedef struct rototiller_frame_t rototiller_frame_t;
-typedef struct threads_t threads_t;
-
-threads_t * threads_create();
-void threads_destroy(threads_t *threads);
-
-void threads_frame_submit(threads_t *threads, fb_fragment_t *fragment, rototiller_fragmenter_t fragmenter, void (*render_fragment_func)(void *context, unsigned ticks, unsigned cpu, fb_fragment_t *fragment), void *context, unsigned ticks);
-void threads_wait_idle(threads_t *threads);
-unsigned threads_num_threads(threads_t *threads);
-
-#endif
© All Rights Reserved