From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6f10752206715684 X-Google-Attributes: gid1164f8,public From: Dave Butenhof Subject: Re: UNIX Digital Informations Date: 1996/03/21 Message-ID: <31514F79.2781@zko.dec.com>#1/1 X-Deja-AN: 143598881 references: <3150137F.2EFC@imag.fr> content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: Mozilla 2.01 (X11; I; OSF1 V4.0 alpha) Alexandre Carissimi wrote: > > Hi, > > I'm looking for more specific informations about > Digital UNIX operating system. I'm interested to know > which are threads package supported and if this threads > are implemented on user space or kernel space. > > Thanks a lot, > ASC > __________________________________________________________________ > CARISSIMI, Alexandre Alexandre.Carissimi@imag.fr > Laboratoire de Modelisation et Calcul - LMC > Institut National Polytechnique de Grenoble - INPG > 100, Rue des Mathematiques Fone: (33) 76.51.46.03 > 38041 - Grenoble - Cedex 9 FRANCE Fax : (33) 76.63.12.63 > > "Life has more imagination than our dreams" C.Colombus - 1492 > __________________________________________________________________ Prior to Digital UNIX 4.0 (which will be shipping very soon), the threads package (DECthreads) implements the POSIX 1003.4a/D4 draft interface. This is also known as "DCE threads", because the thread package shipped with OSF DCE was based on the DECthreads code base, and has the same interface. The scheduling model is "one to one" mapping on Mach kernel threads. For Digital UNIX 4.0 (the first version to ship since 1003.1c-1995 was approved last June), we have re-architected DECthreads using the final POSIX 1003.1c-1995 programming interface. We have also used a "many to few" scheduling model with kernel upcalls -- in other words, when a thread blocks in the user level library, for example, to block on a mutex or condition variable, DECthreads simply moves another "user thread" onto the "kernel thread" without involving the kernel. When the kernel blocks a thread, for example, to wait for an I/O, it notifies the DECthreads user-level scheduler so that we can dust off an inactive user thread and make use of the available execution slot. +-------------------------------------------------------------------+ | Dave Butenhof Digital Equipment Corporation | | butenhof@zko.dec.com 110 Spit Brook Rd, ZKO2-3/Q18 | | PH 603.881.2218, FAX 603.881.0120 Nashua, NH 03062-2711 | +----------+ "Better Living Through Concurrency" +----------+ +---------------------------------------------+