[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pthreads-hackers] stack for main thread
From: |
Johan Rydberg |
Subject: |
[Pthreads-hackers] stack for main thread |
Date: |
Thu, 7 Feb 2002 20:21:24 +0100 |
Hi!
If the thread specific data (tsd) will be accessed through a
per-thread register (%gs segment on x86) I see no reason for
changing stacks for the main thread (i.e., when initilizing the
thread library).
cthreads change the main stack because all stacks are of the
same size -- same goes for Hurd threadvars.
Are there any reasons for changing the initial stack when using
per-thread registers?
--
Johan Rydberg
$ ON F$ERROR("LANGUAGE","ENGLISH","IN_MESSAGE").GT.F$ERROR("NORMAL") -
THEN EXCUSE/OBJECT=ME
- [Pthreads-hackers] stack for main thread,
Johan Rydberg <=