From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,63e84d65d4999f24,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-02-07 11:01:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!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: How to create kernel-level threads in Tru64 5.1? Date: Fri, 7 Feb 2003 20:57:45 +0200 Organization: National Technical University of Athens, Greece Message-ID: NNTP-Posting-Host: patroclos.hpclab.ceid.upatras.gr X-Trace: ulysses.noc.ntua.gr 1044644477 42944 150.140.142.225 (7 Feb 2003 19:01:17 GMT) X-Complaints-To: usenet@ulysses.noc.ntua.gr NNTP-Posting-Date: Fri, 7 Feb 2003 19:01:17 +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:9511 Hello, I am a relative new user of an Alpha machine with Tru64 Unix 5.1. I am developing a user-level thread library and I need to create kernel-level threads that will be used as execution vehicles for the user-level threads. Under Linux I am using the clone() system call to do that. I would like to ask if there is a similar interface in Tru64 Unix. I have seen a piece of software that uses the thread_create(), thread_set_state() etc. interface from the libmach.a library and I also found the prorotypes of kernel_thread(), kernel_thread_w_arg() etc. in /usr/sys/include/kern/threads.h. My problem is that I cannot find any documentation about these functions, I don't know if they are actually supported or if they are just low-level hacks that might work or not in future releases. Apart from that I have found only the POSIX threads interface, but from what I have understood these are already user-level threads that run on top of kernel threads. Is this correct? If yes, how are these kernel threads created? Any pointer or help that will clarify things about threads under Tru64 Unix is greatly appreciated. Thank you in advance, Ioannis E. Venetis