Home > OS >  The interview questions 1
The interview questions 1

Time:09-17

What are the IO model in the Linux, have what meaning,
1. The BIO synchronous blocking IO
With a simple list to show (I'm going to the dining hall, this is the dining hall lot of classmates, I have to line up to buy rice, waiting time is wasted, I)
2. NIO synchronous non blocking IO
(our canteen management recently become more humanized, after you order a meal, will give you a number, but the dining hall noise is very big, I have to frequently ask my meal is ready, but I can use the line before time to buy a bottle of drink,)
3. The multiplexing IO
New clothes for a display screen (dining hall, every time you don't have to go to frequently ask, you can use to ask the time to do other things,)
4. The signal driven IO
(see shows, every time I want to go to see, can't concentrate on doing things, dining room recently installed loudspeaker, don't have to go to watch the screen, it can concentrate on to do other things)
Asynchronous IO
5.(don't have to go to the canteen, direct delivery,)

The difference between the blocking IO and non blocking IO
In the process of data preparation, process is blocked

The difference between the synchronous IO and asynchronous I/o
Copies of data process, the process is blocked,
  • Related