summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2010-07-30 15:29:38 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-05 22:48:38 +0200
commit342a43e7b2ceec1dd200bffa24b052fec33f5bdc (patch)
tree291938b98037efe6e0def19e7457b9a947c484f1 /include
parente0eb1015bf30fd0913db571b000ba6a83ea22660 (diff)
Introduce threading
In order to enable deferred events from grail, but the event processing in a separate thread, and have the calling thread return as quickly as possible. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'include')
-rw-r--r--include/grail-touch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grail-touch.h b/include/grail-touch.h
index e4bfd7b..e07ffca 100644
--- a/include/grail-touch.h
+++ b/include/grail-touch.h
@@ -93,7 +93,8 @@ static inline int next_slot(const struct touch_frame *frame, int slot)
93 93
94int touch_dev_open(struct touch_dev *dev, int fd); 94int touch_dev_open(struct touch_dev *dev, int fd);
95int touch_dev_idle(struct touch_dev *dev, int fd, int ms); 95int touch_dev_idle(struct touch_dev *dev, int fd, int ms);
96int touch_dev_pull(struct touch_dev *dev, int fd); 96int touch_dev_fetch(struct touch_dev *dev, int fd);
97int touch_dev_process(struct touch_dev *dev);
97void touch_dev_close(struct touch_dev *dev, int fd); 98void touch_dev_close(struct touch_dev *dev, int fd);
98 99
99void touch_engine_init(struct touch_engine *engine, 100void touch_engine_init(struct touch_engine *engine,