![]() |
ThreadTaskRef |
Header: Threads.h |
typedef void ThreadTaskRef;
In certain cases, such as during execution of an interrupt function, your application is not guaranteed to be the current process. Since threads are defined within an application context, it follows that in cases such as these, you cannot get or set information about any particular threads in your application unless you have a way of identifying the application context. The thread task reference gives you a way of doing this.
You can obtain the thread task reference by calling GetThreadStateGivenTaskRef
and
The ThreadTaskRef data type defines the thread task reference.