<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Thread ID/Priority</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0f49615518/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0f49615518/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0f49615518/</id><updated>2020-02-27T22:11:17.484000Z</updated><subtitle>Recent posts to Thread ID/Priority</subtitle><entry><title>Thread ID/Priority</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/0f49615518/?limit=25#6ccb" rel="alternate"/><published>2020-02-27T22:11:17.484000Z</published><updated>2020-02-27T22:11:17.484000Z</updated><author><name>LeonL</name><uri>https://forge.codesys.com/u/leonl/</uri></author><id>https://forge.codesys.comdb1f01c059bf4abfe40f488d74c5cb616bb98cc4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is there any way of getting the ID (or even better the priority) of a thread (task) during run time?&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Leon Ljunggren&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>