Tool/software: TI C/C++ Compiler
I used _register_mutex_api() to register the mutex functions the run-time library needs. I stepped into the _register_mutex_api() code to verify that it is actually executing.
However, none of the mutex-related functions that I registered are getting called. And if I single step through printf(), the __TI_file_lock() is just a call to _nop().
After looking through the mutex code, I suspected that perhaps the mutexes are never getting created. So I tried to set a breakpoint in create_resource_mutexes(), but the debugger says there is no executable code associated with any of the source code lines for that function. I double-checked that __TI_RECURSIVE_RESOURCE_MUTEXES is defined for compiling _mutex.c. Is there something else I need to do in order to get the mutex stuff to work?
Regards,
Dave