guest
BAN USER
Questions (3)
Comments (4)
Reputation 30
- 0of 0 votes
Answersdifference between synchronous and asynchronous io
- guest in United States| Report Duplicate | Flag | PURGE
Operating System - 0of 0 votes
Answerswhat does 4 byte allignment in 32bit system mean.
- guest in United States
eg :
struct
{
char a;
char b;
}
will it take 8 byte or 4 byte after padding.
char a - (1+ 3 for padding) char b (1+ 3 for padding)
so entire structure takes 8 byte?
or char a (1) char b (1 + 2 padding.)=4byte total?
doesn't 4 byte allignment mean all new var address should start with a multiple of 4.... ?
plz do help| Report Duplicate | Flag | PURGE
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
In synchronous file I/O, a thread starts an I/O operation and immediately enters a wait state until the I/O request has completed. A thread performing asynchronous file I/O sends an 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 complete. It then interrupts its current job and processes the data from the I/O operation as necessary.
- guest September 16, 2012