however, only the first one is ever initialised in start_threads()
pthread_mutex_init(&data_lock,NULL);
So every call to lock and unlock this mutex fails, although this does not appear to effect the operation of the frontpanel library. So there are 2 alternatives:
In the frontpanel module lp_main.cpp there are 2 mutexes defined:
however, only the first one is ever initialised in
start_threads()
So every call to lock and unlock this mutex fails, although this does not appear to effect the operation of the frontpanel library. So there are 2 alternatives:
initialise the second mutex in
start_threads()
or
remove the references in
lp_main.cpp
andlpanel.cpp
to:There is a proposed fix in Pull-Request #6