Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help3003


This forum is provided to promote discussion amongst students enrolled in Graphics and Animation (CITS3003).
 
Options:
RSS cloud
Jump to:

Event Mode vs Request Mode

1 of 306 articles shown, currently no other people reading this forum.
photo
From: Naveed A.
Date: Tue 24th Mar 2020, 1:21pm
Actions: 
        Login-to-reply

 

A computer has a number of input devices such as keyboard and mouse. These devices
contain a trigger which can be used to send a signal to the OS.
For the request input mode, the input is provided to the program only when the user triggers
the device (e.g. entering a number then pressing <enter>). The program that requests this
input comes to a halt until the input is entered.
Since most computer systems have more than one input device, each of these devices can
be triggered at an arbitrary time by the user. Each trigger from these input devices generates
an ”event” that is put in an ”event queue” which can be examined by the user program. For
the event input mode, the program may be executing many other operations (i.e., it does not
come to a halt) while waiting for an event to be triggered.

Related articles

Event Mode vs Request Mode (all 3) RSS
├─ original   Mon 23rd Mar 2020, 11:12pm, ANONYMOUS
├─ THIS   Tue 24th Mar 2020, 1:21pm, Naveed A.
└─ reply 2   Tue 24th Mar 2020, 1:23pm, Mohammad J.
This Page


Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020