From 342a43e7b2ceec1dd200bffa24b052fec33f5bdc Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Fri, 30 Jul 2010 15:29:38 +0200 Subject: 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 --- include/grail-touch.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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) int touch_dev_open(struct touch_dev *dev, int fd); int touch_dev_idle(struct touch_dev *dev, int fd, int ms); -int touch_dev_pull(struct touch_dev *dev, int fd); +int touch_dev_fetch(struct touch_dev *dev, int fd); +int touch_dev_process(struct touch_dev *dev); void touch_dev_close(struct touch_dev *dev, int fd); void touch_engine_init(struct touch_engine *engine, -- cgit v1.2.3