Science, asked by Priyam9963, 1 year ago

How call back is work (internal process)?

Answers

Answered by kvnmurty
0
This is a question from Computer science.

   CallBack is a facility for invoking or running a function synchronously or asynchronously. Usually call back function is an internal process that goes into the operating system (like windows system).

   Addresses of Callback functions are stored in a table.  When a software interrupt or hardware interrupt or a known event occurs, then operating system goes to the corresponding callback function table and picks the address (to the code).  Then passes control to it ie., executes it.

    Then the callback function examines the status of the software, user buffer, OS buffer etc. and does its function.

    The callback function may be called regularly at fixed intervals or asynchronously like when a user asks for input or output.


kvnmurty: :-)
Similar questions