Doubt in Software Task Switching
- From: "Dharma" <baladharma@xxxxxxxxx>
- Date: 29 Dec 2006 01:59:25 -0800
Hi all,
I have doubt in Scheduling.
Suppose if we have only one Code Segment the scheduling
algorithm is Preemptive and the task switching is done using
Software
There are three task whose functions are task1(), task2(),task3().
Now iam in task1() after some time scheduling happens , task2()
must be called to call this we have to update Stack Pointer, Stack
Segment and the Instruction pointer should point to the instruction in
the Task2().
1) how the Instruction pointer is modified?
2) Who is taking care of modifying the Instruction Pointer?
Is it possible to give an example.
Please Forgive me if my english is poor.
Thanks and Regards,
Dharma
.
- Follow-Ups:
- Re: Doubt in Software Task Switching
- From: rhyde@xxxxxxxxxx
- Re: Doubt in Software Task Switching
- Prev by Date: Re: X without libraries... still...
- Next by Date: Re: RDTSC
- Previous by thread: disassembly of COM vs EXE
- Next by thread: Re: Doubt in Software Task Switching
- Index(es):
Relevant Pages
|