From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,63e84d65d4999f24 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-02-08 05:43:41 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator2-SanJose!in.nntp.be!news.grnet.gr!news.ntua.gr!not-for-mail From: "Ioannis E. Venetis" Newsgroups: comp.unix.tru64 Subject: Re: How to create kernel-level threads in Tru64 5.1? Date: Sat, 8 Feb 2003 15:40:03 +0200 Organization: National Technical University of Athens, Greece Message-ID: References: NNTP-Posting-Host: patroclos.hpclab.ceid.upatras.gr X-Trace: ulysses.noc.ntua.gr 1044711818 69792 150.140.142.225 (8 Feb 2003 13:43:38 GMT) X-Complaints-To: usenet@ulysses.noc.ntua.gr NNTP-Posting-Date: Sat, 8 Feb 2003 13:43:38 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.unix.tru64:9516 Hello Joe, Thank you for the pointer, but I had already seen this document. I made the comment about the two levels of threads in the POSIX library based on it. My goal is to keep the kernel-level threads (or kernel execution contexts, as mentioned in the document) and implement a different user-level threads library. This is, because this library will implement a very different programming model than the one of POSIX threads. It is a dependant driven model, where each thread gets ready to run when its dependencies from other threads have been satisfied. But this difference will be visible only with the user-level threads. The underlying kernel-level threads are still needed, to schedule the user-level threads on them. The problem is that I can't find out how to create them. How does the POSIX threads library that is provided with Tru64 Unix create these kernel execution contexts? This is the question. To make things even more complicated, I could use POSIX threads as my execution vehicles for the user-level threads of my library, but this would create a three-level implementation! Kernel-threads, POSIX (user-level) threads and finally my user- level threads! I doubt that this would be efficient and therefore I try to avoid it. I hope that this made things a little bit more clear and not more complicated! Ioannis E. Venetis ----- Original Message ----- From: "Joe Chung" Newsgroups: comp.unix.tru64 Sent: Saturday, February 08, 2003 12:32 AM Subject: Re: How to create kernel-level threads in Tru64 5.1? > > Call me curious, but why do you want to do this? > > For Tru64, Posix threads are selectively "bound" to kernel > threads, in a two-level scheduling scheme. > > See > http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V51A_HTML/ARH9RB TE/DOCU0030.HTM#two_level_scheduling_unix > > -jc > -- > (apply 'concat (reverse (list "com" > (char-to-string 46) "yahoo" > (char-to-string 64) "joechung")))