only scheduler

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
neofrkh
Posts: 1
Joined: Tue Oct 07, 2008 11:57 am

only scheduler

Post by neofrkh »

I need comments on the statement:
" a kernel which only schedules threads but not process"
Craze Frog
Member
Member
Posts: 368
Joined: Sun Sep 23, 2007 4:52 am

Re: only scheduler

Post by Craze Frog »

My comment is: bad grammar.
User avatar
Combuster
Member
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

Post by Combuster »

a kernel which only schedules threads but not process
...your point?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
iammisc
Member
Member
Posts: 269
Joined: Thu Nov 09, 2006 6:23 pm

Re: only scheduler

Post by iammisc »

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?
pcmattman
Member
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

Post by pcmattman »

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.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: only scheduler

Post by AJ »

*cough*homework*cough*
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: only scheduler

Post by DeletedAccount »

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 :) }
Craze Frog
Member
Member
Posts: 368
Joined: Sun Sep 23, 2007 4:52 am

Re: only scheduler

Post by Craze Frog »

SandeepMathew wrote:Counter question:
What's the difference between threads and process ?
A process is an address space, handles (files/graphics/device/etc) and a list of threads IDs.
A thread is an execution context which runs in a process. It is a list of register values, a priority and a process ID.
Post Reply