AnsweredAssumed Answered

Mutexes global

Question asked by Martin Kempf on Jul 8, 2013
Latest reply on Jul 10, 2013 by Martin Kojtal



I use mutexes in my application. I can use the mutexes in the same file as I have initialize the mutex (example: MUTEX_STRUCT Mutex_shiftreg;). If I want exclude the mutex in the header-file, the compiler returns an error. The exclude is (example: extern MUTEX_STRUCT Mutex_shiftreg;). Is there a setting I have to enable in the MQX? How can I use a mutex in other files (global)? I use the MQX 3.6 with CW 7.2 on the derivative.

Thanks for your helpfully answers.