Current thread 
Author Message
 Current thread

Anyone know how to get a reference to the current executing thread?
TIA.


Sun, 18 Jan 2004 00:36:13 GMT  
 Current thread
Call System.Threading.Thread.CurrentThread()


Quote:
> Anyone know how to get a reference to the current executing thread?
> TIA.



Sun, 18 Jan 2004 00:56:55 GMT  
 Current thread
But then without (), it's a property.
Quote:

> Call System.Threading.Thread.CurrentThread()



> > Anyone know how to get a reference to the current executing thread?
> > TIA.



Sun, 18 Jan 2004 02:34:11 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. determining if current thread is main thread

2. Determine if current thread is a worker thread

3. OpenThreadToken fails for current thread

4. changing current thread

5. wait (or sleep) for current thread

6. Huh?!?!: "current thread is not in a single-threaded apartment"

7. How do you determine if the current thread is a worker thread?

8. How Can I know whether DAOLibrary is initialized for the current thread.?

9. Detecting window with current focus (even in another thread)

10. Detecting window with current focus (even in another thread)

11. How to get the id of the current unnamed thread?(NT)

12. Current directory of the current process

 

 
Powered by phpBB® Forum Software