aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-28 17:48:43 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-28 17:51:04 +0000
commit8e6f87eb17b562fd3d1def7a65b5dc8346642f8e (patch)
treebe864e34443c498806f9965d07869679bf36ddf4 /input.c
parentterm: open FDs before allocating terminal struct (diff)
render worker context: allocate, and let worker threads free
Since we now initialize the worker threads from term_init(), which returns before the threads terminate, we can no longer use stack-allocated worker contexts. We _could_ put them in the terminal struct. But a simpler solution is to allocate them in term_init(), and let the threads free them when they don't need them anymore.
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions