From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,862ea009fde373e2,start X-Google-Attributes: gidfee84,public From: byrappag@cs.iastate.edu (Anand Byrappagari) Subject: Scheduling of threads vs processes Date: 1995/08/07 Message-ID: #1/1 X-Deja-AN: 107683070 organization: Iowa State University, Ames, Iowa keywords: threads processes osf1 newsgroups: comp.unix.osf.osf1 summary: Differences between scheduling of threads and processes. Hi all, I need some help regarding scheduling of threads (light weight processes). When a system supports kernel level threads how is the scheduling of threads done. Is the time allocated to the parent process divided into smaller parts for each of its threads or is each thread considered to be equivalent to a process when the CPU is scheduled. This is important because if each thread is considered equivalent to a process when scheduling the CPU then a process with N threads will get N times more CPU time then a unthreaded process with the same priority. I am especially interested in how this problem is handled in decthreads package available on osf1. Thanks, Anand