cancel
Showing results for 
Search instead for 
Did you mean: 

LIBC Thread Safe support in IAR with FreeRTOS

deckhard
Associate III

Hi

I'm looking for the implementation of these functions for enabling thread safe support in libc within IAR:

typedef void iar_Rmtx; /* Lock info object */

void __iar_system_Mtxinit(iar_Rmtx *); / Initialize a system

lock /

void iar_system_Mtxdst(iar_Rmtx *); /Destroy a system lock /

void iar_system_Mtxlock(iar_Rmtx *); / Lock a system lock /

void iar_system_Mtxunlock(iar_Rmtx *); / Unlock a system lock */

Thanks

1 REPLY 1
Piranha
Chief II

Those are trivial functions - just implement on your own based on your RTOS's mutex.