there are two types of input and output (I/O) SYNCHRONIZATION:
In SYNCHRONOUS FILE, operation and immediately enters a wait state until the request has completed.A thread performing asynchronous file I/O request to the kernel by calling an appropriate function.If the request is accepted by the kernel ,the calling thread continues processing another job until the kernel signals to the thread that the I/O operation is completed.It had interrupts job and processes the data from the I/O operation as necessary.
- A synchronous process is invoked by a request/response
operation, and the result of the process is returned to the caller immediately
via this operation.
- An asynchronous process is invoked by a one-way operation
and the result and any faults are returned by invoking other one-way operations.
The process result is returned to the caller via a callback operation.