Difference between revisions of "Operating Systems 2017F Lecture 19"

From Soma-notes
Jump to navigation Jump to search
Line 14: Line 14:
** FUSE applications?
** FUSE applications?
** the linux kernel?
** the linux kernel?
** node web applications
** node web applications?
 
 
In many systems, "main" just sets up even handlers
* the event loop can be implicit or explicit
** or there may be no loop at all, just handlers and "interrupts" some kind
* event loops poll (check) to see when there are new events
* what are event loops for node app?
** where are interrupts for node apps?
***Incoming network requests, it's an event
 
 
OS kernels are essentially the same thing

Revision as of 14:37, 21 November 2017

[Notes]

Sample
sample


Additional Notes

Where's main?

  • lots of program shave "main" functions - a function that runs first and controls the execution of the program
  • Do these have "main" functions?
    • Linux kernel modules
    • FUSE applications?
    • the linux kernel?
    • node web applications?


In many systems, "main" just sets up even handlers

  • the event loop can be implicit or explicit
    • or there may be no loop at all, just handlers and "interrupts" some kind
  • event loops poll (check) to see when there are new events
  • what are event loops for node app?
    • where are interrupts for node apps?
      • Incoming network requests, it's an event


OS kernels are essentially the same thing