it would be good to do on top of your RTOS shell POSIX for example, to make pthread_mutex_lock () as the: pthread_create (...) { ... nOS_ThreadCreate(...); ... }; pthread_mutex_lock (...) { ... nOS_MutexLock(...); ... };
it would be good to do on top of your RTOS shell POSIX
for example, to make pthread_mutex_lock () as the:
pthread_create (...) {
...
nOS_ThreadCreate(...);
...
};
pthread_mutex_lock (...) {
...
nOS_MutexLock(...);
...
};