bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stack base and thread-specific data


From: Farid Hajji
Subject: Re: Stack base and thread-specific data
Date: Wed, 8 Aug 2001 21:39:41 +0200 (CEST)

> But I'd like to know what others think. Should we support these pthreads
> interfaces in favor of robustness, or not support them in favor of
> speed and internal simplicity?
Don't assume that threads are created a la C-Threads in microkernels
!= mach. The same is true for OS-embedded environments. It's probably
safe to assume a Pthreads interface as specified by the specs.

On l4-hurd, we will most likely drop C-Threads completely in favor of
Pthreads. Pthreads are already available in most Unices (the
Hurd/VK/Unix case) and we'll use a Pthreads wrapper around the (new)
L4 threads API once it is available.

In every case, you should use the Pthreads API to get the base of the
stack. This is the only truly portable solution.

Thanks,

-Farid.

-- 
Farid Hajji -- Unix Systems and Network Admin | Phone: +49-2131-67-555
Broicherdorfstr. 83, D-41564 Kaarst, Germany  | farid.hajji@ob.kamp.net
- - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - -
One OS To Rule Them All And In The Darkness Bind Them... --Bill Gates.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]