Re: How to time a system call

2000-09-21 Thread Song Li
> > A friend asks me what will happen if more than one process trying to read > the stdin at the same time. There is no way to guarantee that any > particular keyboard input will be accepted by a particular process. how about using several psudo terminal? > Since a system call is atomic, this ma

How to time a system call

2000-09-18 Thread Zhiui Zhang
A friend asks me what will happen if more than one process trying to read the stdin at the same time. There is no way to guarantee that any particular keyboard input will be accepted by a particular process. Since a system call is atomic, this makes me wonder how long it takes to do a system cal