Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2005 13:28:44 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Niall Douglas <s_sourceforge@nedprod.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: threads/76821: Add access to gdb unique thread id
Message-ID:  <Pine.GSO.4.43.0501291326510.17542-100000@sea.ntplx.net>
In-Reply-To: <200501291719.j0THJRKr033945@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Jan 2005, Niall Douglas wrote:

>
> >Number:         76821
> >Category:       threads
> >Synopsis:       Add access to gdb unique thread id
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    freebsd-threads
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          change-request
> >Submitter-Id:   current-users
> >Arrival-Date:   Sat Jan 29 17:20:03 GMT 2005
> >Closed-Date:
> >Last-Modified:
> >Originator:     Niall Douglas
> >Release:        5.3
> >Organization:
> >Environment:
> >Description:
> It would be really handy if a unique integer could be obtained from struct
pthread_t so that one can print debug information to stdout like so:

You can use pthread_getspecific() or TLS.

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0501291326510.17542-100000>