Re: process switch...
- From: Bob Hauck <postmaster@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Dec 2005 10:47:14 -0500
On 28 Dec 2005 06:43:30 -0800, Mozis <chokshi.jaydeep@xxxxxxxxx> wrote:
> I read in Understanding Linux kernel that process switch only happens
> in kernel mode. Now I confuses how come a process like having following
> code being switched out.
>
> /*process.c*/
> main()
> {
> for(;;) ;
> }
Timer interrupts are handled in kernel mode. At that time the kernel
can suspend that process and run another one.
--
-| Bob Hauck
-| A proud member of the reality-based community.
-| http://www.haucks.org/
.
- References:
- process switch...
- From: Mozis
- process switch...
- Prev by Date: Re: Why can't my serial driver can't keep up?
- Next by Date: Re: Why can't my serial driver can't keep up?
- Previous by thread: process switch...
- Next by thread: Re: process switch...
- Index(es):