Is there any way of getting the ID (or even better the priority) of a thread (task) during run time?
The reason I want this is that I have several threads (tasks) in CoDeSys that feeds data to a C-thread (in a DLL) and it would be useful in order to ensure that the data is handled in the right order.
Regards
Leon Ljunggren
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Is there any way of getting the ID (or even better the priority) of a thread (task) during run time?
The reason I want this is that I have several threads (tasks) in CoDeSys that feeds data to a C-thread (in a DLL) and it would be useful in order to ensure that the data is handled in the right order.
Regards
Leon Ljunggren