Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
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