User/Kernel Level Threads
From: Anne (anne_dolly00_at_yahoo.co.uk)
Date: 02/25/04
- Next message: Alf P. Steinbach: "Re: User/Kernel Level Threads"
- Previous message: Dan Smith: "copy_process() help"
- Next in thread: Alf P. Steinbach: "Re: User/Kernel Level Threads"
- Reply: Alf P. Steinbach: "Re: User/Kernel Level Threads"
- Reply: Kasper Dupont: "Re: User/Kernel Level Threads"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Feb 2004 13:11:47 -0800
Hello,
I am confused about User level Thread /Kernel Level Threads. Could you
please look at my following questions? Many thanks for your time
0- With Kernel Level thread, will the thread run on Kernel mode?
that's what i have read, thread (user) code so can run on the kernel
space, that's look very dangerous for me!
does thread kernel mode means really that the threads code is mapped
on the kernel space?
1- Java for instance provides a package to manage Threads at the user
level. If instead a user wants to implement threads at the kernel
level which package should he/she use when working on
1- Windows NT
2- Linux
2- If the user writes multithreaded code using user level library,
will these threads be automatically mapped (one to one or many to
many) to kernel level threads? Or it is up to the user to instruct
this, if yes how?
3- If kernel level threads are supported, will the operating
system schedule processes first and then threads or schedule directly
threads. If the latter case is assumed some processes may stave and
others substantially favoured!
4- When threads are created, each thread ll be associated with a
dedicated stack within the same process's address space. What
mechanism and policy is followed to protect each thread stack from the
other
Many thanks for your help
- Next message: Alf P. Steinbach: "Re: User/Kernel Level Threads"
- Previous message: Dan Smith: "copy_process() help"
- Next in thread: Alf P. Steinbach: "Re: User/Kernel Level Threads"
- Reply: Alf P. Steinbach: "Re: User/Kernel Level Threads"
- Reply: Kasper Dupont: "Re: User/Kernel Level Threads"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|