From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,862ea009fde373e2 X-Google-Attributes: gidfee84,public From: Tony Cox Subject: Re: Scheduling of threads vs processes Date: 1995/08/15 Message-ID: <40qp1k$qm7@nntp.Stanford.EDU>#1/1 X-Deja-AN: 108210500 references: <1995Aug14.140453.28397@decvax.dec.com> content-type: text/plain; charset=us-ascii organization: Stanford Synchrotron Radiation Laboratory x-url: news:1995Aug14.140453.28397@decvax.dec.com mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.1N (X11; I; OSF1 V3.0 alpha) denham@denham.zk3.dec.com (Jeffrey M. Denham) wrote: > >Current on Digital UNIX (DEC OSF/1), all threads are scheduled with a >global scope. In other words, threads of the same priority compete equally >for the CPU, regardless of which process they belong to. The DECthreads >package is currently complete uninvolved in scheduling decisions; that >is all left to the kernel's scheduler. > >On an upcoming version, however, this will change. The kernel's scheduling >won't change, but DECthreads (POSIX 1003.1c pthreads) will become much more >involved in scheduling. Without going into details, I can say that the effect >will much more that of the kernel scheduling the process and DECthreads >scheduling the threads within the process. > Really? This seems like a step backwards. How will multiple threads within a single process be able to utilize multiple CPU's? Tony Cox