<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>CMSIS-RTX does osThreadgetId() switching Threads?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/35835/cmsis-rtx-does-osthreadgetid-switching-threads</link><description> 
Hi, 

 
Inside of the SEGGER emwin Library is a locking funktion wich
takes care of being used by different threads. These locks are using
a single binary semaphore. The pseudocode for the lock is something
like: 

 
if (entrancecount == 0)
{
 osSemaphoreWait</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator></channel></rss>