From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,b2d3b08d2996d5d9 X-Google-Attributes: gidf5392,public X-Google-Thread: fa528,b2d3b08d2996d5d9 X-Google-Attributes: gidfa528,public X-Google-Thread: 1103af,b2d3b08d2996d5d9 X-Google-Attributes: gid1103af,public X-Google-Thread: 108717,b2d3b08d2996d5d9 X-Google-Attributes: gid108717,public X-Google-ArrivalTime: 2004-02-27 08:55:34 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!news-proxy.abbnm.com!newsboy.eng.abbnm.com!not-for-mail From: peter@abbnm.com (Peter da Silva) Newsgroups: comp.unix.tru64,comp.os.linux.misc,comp.os.linux.development.system,comp.programming Subject: Re: User/Kernel Level Threads Date: Fri, 27 Feb 2004 16:41:39 +0000 (UTC) Organization: ABB Inc., Network Management Division Message-ID: References: <403d1014.1252629859@news.individual.net> NNTP-Posting-Host: grendel.eng.abbnm.com X-Trace: jeeves.eng.abbnm.com 1077900099 57382 198.178.0.150 (27 Feb 2004 16:41:39 GMT) X-Complaints-To: usenet@jeeves.eng.abbnm.com NNTP-Posting-Date: Fri, 27 Feb 2004 16:41:39 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: peter@abbnm.com (Peter da Silva) Xref: archiver1.google.com comp.unix.tru64:11243 comp.os.linux.misc:17445 comp.os.linux.development.system:2896 comp.programming:12584 In article , Nikola Milutinovic wrote: > One other difference: thread switching. It is mentioned up there, but let me > underline it. In User-level threads, if a thread goes into a dead loop, the > entire "UL thread system" of that process will be locked, since there is > nothing > available to perform the switch to another thread. The switch is volountary. That's an implementation detail. You can have user-level threads that are switched on a software interrupt. I don't know if there are any user-level threads packages for end-user operating systems that switch on signals, but it's not unheard of for real-time systems. -- I've seen things you people can't imagine. Chimneysweeps on fire over the roofs of London. I've watched kite-strings glitter in the sun at Hyde Park Gate. All these things will be lost in time, like chalk-paintings in the rain. `-_-' Time for your nap. | Peter da Silva | Har du kramat din varg, idag? 'U`