Click to See Complete Forum and Search --> : Supervisor/User Mode. Process/Thread


anne
02-21-2003, 09:08 AM
Hello,
i am newbie in OS.
i am confused about two things. does the dispatcher schedules the
Process or each process threads.

say i have 2 processes each with N threads. will the dispatcher
schedule the two processes or schedule directly the 2 N threads.

Moreover, i really can't trace a sharp line between what is going in
the supervisor and user mode. Any explanation will be much appreciated

Regards

[ Hope not off topic]

sean_foulkes
02-21-2003, 12:40 PM
you must mean root/ normal user mode. User-mode linux is something totally different(multiple instances of linux at once), but it's just like windowsNT/2K/XP. the 'root' account is much like 'administrator' in windows, and it lets you modify everything, so it's usually not a good idea to always log in as root. you should have another user account that has normal(limited) privelages. you can't f;) k up your system then.

xulfralos
02-21-2003, 09:50 PM
This is more of a low-level question about the way programs/processes are run, and not really about users, per se. At least from what I can tell. Maybe ask this in the programming forum, as it doesn't really apply here, unless there's some kernel hackers lurking around. Then again you didn't specify what OS you are asking about, so we need more info yet.