Hi,
Could you please explain me how should I deal with the pthread_mutex_lock/unlock?
I am overloading and BINDing_METHOD(dataChanged) to read data from sensors. Do I need to protect it using the thread safe procedure either if I am invoking methods from the API and writing to a var? like:
float accx = proxy->call<AL::ALValue >("getData" , "Device/SubDeviceList/InertialSensor/AccX/Sensor/Value");
I found a reference to an C++ example in the documentation using "ALCriticalSection section(mutex);" but I did not understand how to use it.
Regards,
Vitor