diff options
| author | Henrik Rydberg <rydberg@bitmath.org> | 2010-07-30 15:29:38 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-05 22:48:38 +0200 |
| commit | 342a43e7b2ceec1dd200bffa24b052fec33f5bdc (patch) | |
| tree | 291938b98037efe6e0def19e7457b9a947c484f1 /include | |
| parent | e0eb1015bf30fd0913db571b000ba6a83ea22660 (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.h | 3 |
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 | ||
| 94 | int touch_dev_open(struct touch_dev *dev, int fd); | 94 | int touch_dev_open(struct touch_dev *dev, int fd); |
| 95 | int touch_dev_idle(struct touch_dev *dev, int fd, int ms); | 95 | int touch_dev_idle(struct touch_dev *dev, int fd, int ms); |
| 96 | int touch_dev_pull(struct touch_dev *dev, int fd); | 96 | int touch_dev_fetch(struct touch_dev *dev, int fd); |
| 97 | int touch_dev_process(struct touch_dev *dev); | ||
| 97 | void touch_dev_close(struct touch_dev *dev, int fd); | 98 | void touch_dev_close(struct touch_dev *dev, int fd); |
| 98 | 99 | ||
| 99 | void touch_engine_init(struct touch_engine *engine, | 100 | void touch_engine_init(struct touch_engine *engine, |
