From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,1600804756a0bd88 X-Google-Attributes: gidfc89c,public X-Google-Thread: 10c665,1600804756a0bd88 X-Google-Attributes: gid10c665,public X-Google-Thread: 10650a,1600804756a0bd88 X-Google-Attributes: gid10650a,public X-Google-Thread: fee84,1600804756a0bd88 X-Google-Attributes: gidfee84,public X-Google-Thread: fb4a0,1600804756a0bd88 X-Google-Attributes: gidfb4a0,public X-Google-Thread: 11035d,1600804756a0bd88 X-Google-Attributes: gid11035d,public From: stone@sheba.com (David Stone) Subject: Re: Threads on different unix systems Date: 1995/07/11 Message-ID: #1/1 X-Deja-AN: 106000344 references: <805320887snz@cucumber.demon.co.uk> organization: sheba.com followup-to: comp.unix.internals,comp.unix.sys5.r4,comp.unix.osf.osf1,comp.unix.solaris,comp.unix.unixware,comp.unix.programmer newsgroups: comp.unix.internals,comp.unix.sys5.r4,comp.unix.osf.osf1,comp.unix.solaris,comp.unix.unixware,comp.unix.programmer Andrew Gabriel (Andrew@cucumber.demon.co.uk) wrote: : 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. Unixware 2.X has a threads implementation that is related to the native Solaris version. At some point there should be a Posix version available. : 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? There is a DCE package from Transarc that presents a POSIX interface that works on non-threaded systems. I've seen it on Sun 4. : 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)? No, that would defeat the whole purpose of threading. I haven't actually looked, but I imagine the Transarc pacakge works by routing I/O system calls through a layer that makes them aysnchronous, and uses SIGPOLL for completions. With that facility it would be relatively easy to just "pause" the I/O thread and resume it when the I/O is complete. David Stone stone@sheba.com