Event driven programming can be seen in all operating systems, all the users interaction with the GUI will run an event driven line of code, below is an example of an event handler and where it is used in an operating system.
Pressing the start button in windows
Causes the start menu to open
This is done by the event handler being ran when the event “button press” occured.
The same can be seen on OSX the apple operating system, below is an example:
No comments:
Post a Comment