>There is no difference between threads and processes in Linux. The >basic scheduling item is a task, and a task is an execution entity. >Execution entities run within a protection domain. When you have a >single execution entity within a single protection domain, we >traditionally call it a process; when there are multiple execution >entities in a protection domain, we call it multi-threading. The >clone() system call allows you to create new tasks. Is it correct that a process gets the full time slice whereas say two threads spawned from the main process will get (Process Time Slice) / 3 (ie 2 threads + 1 main thread) ? Or do all threads get a process time slice? -mohit -- 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/