From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c665,1600804756a0bd88 X-Google-Attributes: gid10c665,public X-Google-Thread: fc89c,1600804756a0bd88 X-Google-Attributes: gidfc89c,public X-Google-Thread: fb4a0,1600804756a0bd88 X-Google-Attributes: gidfb4a0,public X-Google-Thread: fee84,1600804756a0bd88 X-Google-Attributes: gidfee84,public X-Google-Thread: 11035d,1600804756a0bd88 X-Google-Attributes: gid11035d,public X-Google-Thread: 10650a,1600804756a0bd88 X-Google-Attributes: gid10650a,public From: jpt@rixrax.fno.dec.com (Jari Tavi) Subject: Re: Threads on different unix systems Date: 1995/07/10 Message-ID: <3tr5nj$2g9@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 106000245 distribution: world references: <805320887snz@cucumber.demon.co.uk> organization: Digital Equipment Corporation reply-to: jpt@rixrax.fno.dec.com (Jari Tavi) newsgroups: comp.unix.internals,comp.unix.sys5.r4,comp.unix.osf.osf1,comp.unix.solaris,comp.unix.unixware,comp.unix.programmer In article <805320887snz@cucumber.demon.co.uk>, Andrew Gabriel writes: |> I am starting to look at unix threads, currently experimenting |> on Solaris x86 2.4, but eventually I will be looking at other |> unix systems too. |> |> I would appreciate any comments about what implementations of |> threads there are around. Besides Solaris, I took a quick look |> on an ICL DRS 6000 and that appeared to have the same functions |> as Solaris. Also I am aware of Posix threads, but I know of no |> implementations. |> |> Solaris threads are supported in the kernel, but I have heard |> that on some systems the threads support is user level only. |> Which other systems support kernel level verses user level |> threads? |> |> On a system which supports only user level threads, would a |> blocking read in one thread block the whole process? If not, |> how are other threads run (without kernel support)? |> |> Thanks. |> -- |> Andrew Gabriel Andrew@cucumber.demon.co.uk |> Consultant Software Engineer |> Digital UNIX implements Kernel threads. Supported interface is POSIX threads but being Mach based system there's (undocumented) Mach threads interface. I'd recommend using POSIX p-threads when ever possible. Another more generic source for p-threads is OSF/DCE package, which is based on p-threads interface. OSF/DCE (by default) brings you (system independent) user level threads and in some systems (like Digital UNIX) support will be Kernel level thread aka. supports directly parallel processing. Hope this helps, -jari -- ------------------------------------------------------------------------------- Full-Name: Jari Tavi Organization: Digital Finland Dept: MKTG/Prod. MGMT Tel: +358-0-434 5252 Fax: +358-0-452 4046 E-mail: jpt@rixrax.enet.dec.com Address: Digital Equipment Corporation Oy Box 16 FIN-02201 Espoo FINLAND ------------------------------------------------------------------------------- * All opinions are my personal, and do not necessarily represent opinions of * my employer!