Revert !664 (use attribute lock ATTR_BY_KERNEL for push_event)
requested to merge 611-deadlock-when-pushing-event-inside-dynamicattribute-s-read-method into develop
Closes #611 (closed)
As we discussed today at PyTango Developers Meeting we revert !664 (merged) due to introduced regression (see issue).
The reason of deadlock is that attr_mutex is already taken when we enter read_attribute method, so we cannot take it again.
I also propose, that we add to test scenarios, where we push events from attribute write/read methods
Edited by Yury Matveyev