I need comments on the statement:
" a kernel which only schedules threads but not process"
only scheduler
-
- Member
- Posts: 368
- Joined: Sun Sep 23, 2007 4:52 am
Re: only scheduler
My comment is: bad grammar.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: only scheduler
...your point?a kernel which only schedules threads but not process
Re: only scheduler
I don't get it, don't all kernels do this? My kernel schedules threads, it has no concept of processes. Of course it is a microkernel so other kernel types might have different methods.
What exactly is the question?
What exactly is the question?
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Re: only scheduler
IMO the definition of a process is a set of threads - and a scheduler should have no idea what a "process" is, but rather just find the next thread to run.
Re: only scheduler
*cough*homework*cough*
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
Re: only scheduler
Counter question:
What's the difference between threads and process ?
{ Although in linux both process and thread are nearly the same , threads are implemeted as processes }
What's the difference between threads and process ?
{ Although in linux both process and thread are nearly the same , threads are implemeted as processes }
-
- Member
- Posts: 368
- Joined: Sun Sep 23, 2007 4:52 am
Re: only scheduler
A process is an address space, handles (files/graphics/device/etc) and a list of threads IDs.SandeepMathew wrote:Counter question:
What's the difference between threads and process ?
A thread is an execution context which runs in a process. It is a list of register values, a priority and a process ID.