From: "Ioannis E. Venetis" <iev@hpclab.ceid.upatras.gr>
Subject: Re: How to create kernel-level threads in Tru64 5.1?
Date: Sat, 8 Feb 2003 15:40:03 +0200 [thread overview]
Message-ID: <b231i8$2450$1@ulysses.noc.ntua.gr> (raw)
In-Reply-To: ufzqz7mad.fsf@hotmail.com
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" <joe_chung@hotmail.com>
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")))
next prev parent reply other threads:[~2003-02-08 13:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-07 18:57 How to create kernel-level threads in Tru64 5.1? Ioannis E. Venetis
2003-02-07 22:32 ` Joe Chung
2003-02-08 13:40 ` Ioannis E. Venetis [this message]
2003-02-11 15:09 ` David Butenhof
2003-02-14 15:55 ` Ioannis E. Venetis
2003-02-10 14:17 ` Andrew Duane USG
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox