Next: Application Structure
Up: Basic User Interface
Previous: Device Association
Return values from devices may be provided in:
- Request Mode:
-
Alternating application and device execution
- application requests a return and then suspends execution;
- device wakes up, provides input and then suspends execution;
- application resumes execution.
- Sample Mode:
-
Concurrent application and device execution
- device continually updates register(s) or memory location(s);
- application may read at any time.
- Event Mode:
-
Concurrent application and device execution together with a concurrent queue
management service
CS488/688: Introduction to Interactive Computer Graphics
University of Waterloo
Computer Graphics Lab
cs488@cgl.uwaterloo.ca