2021-06-12 10:45 PM
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
2021-06-13 01:49 AM
Those are trivial functions - just implement on your own based on your RTOS's mutex.