473,409 Members | 1,983 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

Thread Collections

I may be missing something simple, but I cannot find any way to get a
collection of managed threads in a process. What am I missing?

Steve
(P.S. When I say managed, I mean System.Threading.Thread, not
System.Diagnostics.ProcessThread).
Jun 21 '06 #1
3 1350
Hi Steve,

I don't think your missing anything.

What do you need from Thread that ProcessThread doesn't provide?

"Steve Foster" <no****@nospam.com> wrote in message
news:WZ********************@bt.com...
I may be missing something simple, but I cannot find any way to get a
collection of managed threads in a process. What am I missing?

Steve
(P.S. When I say managed, I mean System.Threading.Thread, not
System.Diagnostics.ProcessThread).

Jun 21 '06 #2
I need the thread name. It's an app for processing BEEP messages and which
creates threads per BEEP channel and BEEP session. I need to check that the
threads are starting up and closing down as expected. I could do it
explicitly in code, but I'd hoped there be a simple way to do it.

Steve
"Dave Sexton" <dave@jwa[remove.this]online.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi Steve,

I don't think your missing anything.

What do you need from Thread that ProcessThread doesn't provide?

"Steve Foster" <no****@nospam.com> wrote in message
news:WZ********************@bt.com...
I may be missing something simple, but I cannot find any way to get a
collection of managed threads in a process. What am I missing?

Steve
(P.S. When I say managed, I mean System.Threading.Thread, not
System.Diagnostics.ProcessThread).


Jun 21 '06 #3
Hi Steve, probably it does not have any short card. Play with the
threadstate perhpas.
http://msdn2.microsoft.com/en-us/lib...readstate.aspx

chanmm

"Steve Foster" <no****@nospam.com> wrote in message
news:WZ********************@bt.com...
I may be missing something simple, but I cannot find any way to get a
collection of managed threads in a process. What am I missing?

Steve
(P.S. When I say managed, I mean System.Threading.Thread, not
System.Diagnostics.ProcessThread).

Jun 22 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: David | last post by:
Hi guys I have in my application many collections (HashTable and ArrayList)loaded with configuration data, that means they are loaded at startup and then they are accessed only for read-only...
7
by: Ivan | last post by:
Hi there My work on threads continues with more or less success. Here is what I'm trying to do: Class JobAgent is incharged for some tasks and when it's called it starts thread which performs...
2
by: Jack | last post by:
How does dotnet handles thread safety of Collections ? I derived some classes from CollectionBase and DictionaryBase, and created some typed Add, Remove methods to call typeless based Add, Remove...
2
by: S | last post by:
Hi there, I'm building an application that makes heavy use of centralized static methods (and variables) and would just appreciate hearing someone grade my understanding of the concept. In...
8
by: Pieter | last post by:
Hi, I'm having some weird problem using the BackGroundWorker in an Outlook (2003) Add-In, with VB.NET 2005: I'm using the BackGroundWorker to get the info of some mailitems, and after each item...
12
by: Andrew Bullock | last post by:
Hi, I'm using a second thread within my program to do some long calculations, without locking up the UI: worker = new Thread(new ThreadStart(myClass.Run)); worker.Start(); I want to be...
6
by: les | last post by:
Here's a class which uses 2.0 generics to implement an inter-thread message queue in C#. Any number of threads can post and read from the queue simultaneously, and the message object can be any...
8
by: =?Utf-8?B?R3JlZyBMYXJzZW4=?= | last post by:
I'm trying to figure out how to modify a panel (panel1) from a backgroundworker thread. But can't get the panel to show the new controls added by the backgroundwork task. Here is my code. In...
6
by: fniles | last post by:
I am using VB.NET 2003 and a socket control to receive and sending data to clients. As I receive data in 1 thread, I put it into an arraylist, and then I remove the data from arraylist and send it...
12
by: Ronny | last post by:
Thanks Chris, Looks nice but I miss the dual way communication. In the main thread to deliver paramters and data to the worker thread- how can I do that? Regards Ronny Take a look at the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.