Dart Home | PowerTCP Sockets for .NET | Custom Development | Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
Author | Forum: PowerTCP Sockets for .NET (Secure and Standard) Topic: Can Dart please name their threads? |
cambler From: Redmond, WA USA Posts: 102 Member Since: 04/14/03 |
posted April 21, 2003 6:07 PM Any chance you guys can give a name to each worker thread you create for async operations? Some unique ID so that threads can be checked in the pool by name? Christopher |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted April 22, 2003 1:54 PM Hi Christopher, You can uniquely identify instances of the component with the Tag property. What would be the advantage of knowing the names of the threads? How could this knowledge be put to use? Thanks, -ken |
cambler From: Redmond, WA USA Posts: 102 Member Since: 04/14/03 |
posted April 22, 2003 1:58 PM When a thread exits, it reports its name. Just for debugging purposes, it would be helpful to know information about that thread - what it was or what it was doing. If, for example, you called all threads that support an async call by the name of that call and some ID, it would make it easier to track when those threads exit. For example, when a thread exits (I presume it's a thread from a BeginConnect() call), the debugger reports: The thread '<No Name>' (0xfe4) has exited with code 0 (0x0). Would be nice if it said something like: The thread 'BeginConnect1' (0xfe4) has exited with code 0 (0x0). Just an idea... Christopher |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted April 23, 2003 4:34 PM Hi Christopher, Thanks, I have issued your suggestion to our product manager as a feature request for his consideration. -ken |
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
This site is powered by
![]() |