Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-07-29
19:59 • Ticket [920731ffff] TIP #178: info pid and info tid status still Closed ... artifact: acfc71dd9b user: dkf
19:58 • Ticket [920731ffff]: 4 changes artifact: af3b86115c user: dkf
19:58 • Ticket [920731ffff]: 4 changes artifact: ede813628d user: dkf
19:58 • Ticket [920731ffff]: 4 changes artifact: 60e8bb3ca1 user: dkf
19:58 • Ticket [920731ffff]: 4 changes artifact: 7f7513b4df user: dkf
19:58 • Ticket [920731ffff]: 4 changes artifact: ca2af38981 user: dkf
2008-12-11
22:23 • Closed ticket [920731ffff]. artifact: 1d72a9d4fc user: dkf
2008-04-21
12:24 • Ticket [920731ffff]: 4 changes artifact: 1a64bd20ba user: jenglish
05:15 • Ticket [920731ffff]: 4 changes artifact: f94a5e60ee user: patthoyts
05:15 • Add attachment tip178-20080420.patch to ticket [920731ffffffffff|920731... artifact: 2110f529ea user: patthoyts
2004-07-09
08:45 • Ticket [920731ffff] TIP #178: info pid and info tid status still Open wi... artifact: 54de4cdfd9 user: mistachkin
08:44 • Add attachment tip178.zip to ticket [920731ffff] artifact: ea2443ece1 user: mistachkin
08:44 • Ticket [920731ffff] info pid and info tid status still Open with 4 other... artifact: 3ce612e4d3 user: mistachkin
2004-03-22
02:04 • New ticket [920731ffff]. artifact: 459d185381 user: mistachkin

TIP #178: [info pid] and [info tid]

Closed920731ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 17 years ago
Descriptionplain2004-03-22 02:04:18
Please refer to TIP #178.
mistachkinplain2004-07-09 08:44:33
File Added - 93308: tip178.zip

Logged In: YES 
user_id=113501


Apparently, SF likes to randomly lose attachments?

Here is the reference implementation.
mistachkin Ticket [920731ffff]: 1 change [History diff]2004-07-09 08:45:00
patthoytsplain2008-04-21 05:15:47
File Added - 275281: tip178-20080420.patch

Logged In: YES 
user_id=202636
Originator: NO

I updated the patch for the 8.6 HEAD now that the info command is an ensemble it hooks in differently.
File Added: tip178-20080420.patch
jenglishplain2008-04-21 12:24:04
Logged In: YES 
user_id=68433
Originator: NO

The InfoTidCmd() implementation is busted for POSIX systems:

    sprintf(buf, "%lu", (unsigned long) Tcl_GetCurrentThread());

On Unix, Tcl_GetCurrentThread() is the same as pthread_self(), which returns a pthread_t.  This is an opaque data type; not necessarily an unsigned long, or even convertible to an unsigned long.  On some implementations a pthread_t is a pointer to an opaque structure, and is only valid in the context of the process containing the thread.
dkfplain2008-12-11 22:23:42
data_type - 210894
dkfplain2009-07-29 19:58:41
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:58:47
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:58:50
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:58:55
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:58:57
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:59:00
IP - Comment Removed: 130.88.1.31
Log in (anonymous is fine) to add a comment.

Attachments: