summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-02-22 08:35:50 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-02-22 09:39:35 +0000
commit59d471de7fc7581b112f37a68714d0e1f8728dfd (patch)
tree7d021a04bd71edd6f35a9c94a7dedc51f5411845 /src/sna/sna.h
parent1de1104064b5898cbed37e836901694a381c1266 (diff)
sna: Handle asynchronous signals from threads
By killing the threads and leaking their allocations - marginally preferrable to losing the entire Xserver. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index 1b0a4e58..0b5de8e5 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -1017,6 +1017,7 @@ void sna_threads_init(void);
int sna_use_threads (int width, int height, int threshold);
void sna_threads_run(void (*func)(void *arg), void *arg);
void sna_threads_wait(void);
+void sna_threads_kill(void);
void sna_image_composite(pixman_op_t op,
pixman_image_t *src,