summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-13 23:16:20 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-13 23:16:20 -0700
commitcf4b27c90534fe2c7842f96c1553eaace1e81190 (patch)
tree3d7d2f7481f88cae32c6c854646f5e89d6d039a1 /src/main.c
parenta41d4e72dc915a8cb79aa8f1f2177def06d75844 (diff)
til_fb: introduce til_fb_halt()
This makes it so til_fb_page_get() will return NULL when the fb has been "halted". If til_fb_page_get() is already waiting for a page to become available, it will be woken up by til_fb_halt(). Preparatory commit for eliminating the reliance on pthread_cancel() to terminate rototiller_thread() on shutdown. Cancellation is always a PITA, especially cross-platform, but in general it's so easy to have subtle bugs when using it.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved