Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
How do I find out if there are any thread safety issues with any API calls including standard C lib?
0 Likes
1 Solution
Anonymous
Not applicable
WICED uses Newlib for its standard C library.

We have specifically made the malloc family of functions thread safe using __malloc_lock( ) and __malloc_unlock( ).

Other functions are thread safe by nature since they do not require the use of globals.

For all other functions I suggest you check Newlib source / documentation at http://sourceware.org/newlib/

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable
WICED uses Newlib for its standard C library.

We have specifically made the malloc family of functions thread safe using __malloc_lock( ) and __malloc_unlock( ).

Other functions are thread safe by nature since they do not require the use of globals.

For all other functions I suggest you check Newlib source / documentation at http://sourceware.org/newlib/
0 Likes