Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: What use is of Semaphore_Struct ?

$
0
0

Hi,

When I learn Semaphore, I find there are a lot of functions using handle while only one uses "Semaphore_Struct". On this forum I find only one link about Semaphore_Struct:

http://e2e.ti.com/support/embedded/tirtos/f/355/p/351757/1247479.aspx#1247479

typedef struct
{
    UInt32              queue[Event_QSZ];
    Bits32              head;
    Bits32              tail;
    Bool                error;
    Semaphore_Handle    sem;
    Semaphore_Struct    semObj;
} Event_Queue;

 

This TI guru gives a definition using Semaphore_Struct. Anyone can explain its usefulness?

 

Thanks,


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>