Re: what is the schedule base? process/thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 02, 2001 at 08:20:56PM +0800, ken wrote:

> What is the schedule base? process or thread?

The linux kernel has no notion of processes vs. threads (thread group id etc. not withstanding).

Everthing is a "task". Processes and threads are essentially the same thing.

> If process is the base,then what happend in this status?

what do you mean ?

> A process have two threads, one of them suspend the thread/process(ie. wait for something),then the other is running continuous?

of course.

regards
john

-- 
"Faced with the prospect of rereading this book, I would rather have 
 my brains ripped out by a plastic fork."
	- Charles Cooper on "Business at the Speed of Thought" 
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux