Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: iyounger@nyx10.cs.du.edu (Isaac Younger)
Subject: Re: Reading thread stack limits under DEC OSF/1 3.0
Date: 1995/06/27	[thread overview]
Message-ID: <3sppvt$gdr@nyx10.cs.du.edu> (raw)
In-Reply-To: 3sovm8$iph@news-rocq.inria.fr

In article <3sovm8$iph@news-rocq.inria.fr>,  <piumarta@epaf.inria.fr> wrote:
>I'm investigating the possibility of modifying a garbage collector to
>work with DEC's pthreads under OSF/1.  For this I need to be able to
>determine the stack limits for each thread, but I can't find any
>information on how to do this.
>

To get the stack size of a thread call the pthread_attr_getstacksize 
routine. I have used this routine on VMS and it works fine. Never tried 
it on OSF/1 (although the pthread interface is supposed to be compatible).
This routine will give you the stack size of the thread when it was created,
however, it does not tell you the current size of the stack.



-- 
 
Isaac Younger                iyounger@nyx10.cs.du.edu



      reply	other threads:[~1995-06-27  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-06-27  4:00 Reading thread stack limits under DEC OSF/1 3.0 piumarta
1995-06-27  4:00 ` Isaac Younger [this message]
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