After upgrading to Epics/Base 3.14.6 from 3.13.10 I am having difficulty
handling signals. In one of our applications if the user does a
control-C it is suppose to trap the signal and restore the PVs to their
original values. Odds are the control-c will occur while in a
ca_pend_event call. When I go to do a ca_pend_io in the interrupt
handler I get the error:
pthread_mutex_unlock failed: error Not owner
fatal error: epicsMutexOsdUnlock
I have included a simple program that displays the same problem. If
anyone knows the proper way of doing CA calls after catching a signal
please let me know.