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

Re: Suspending thread switching while inspecting stacks



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dragiša Durić wrote:

>   What I did not find is a way to get top of used stack, by pthread_t
> (there is typo in my first message). Is there and elegant (or any) way
> to get this information for running thread?

The list archive has already several mentions of this.  Use
pthread_getattr_np.

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/0M1u2ijCOnn/RHQRAqsKAKCvxUAvQK/GCq1Nzqkwlqpg/JxuhQCgnnfg
4CJgrd/O4dwumAGmyO01qcg=
=KZb/
-----END PGP SIGNATURE-----




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