Resolve "HA+MT Hook libs need a way to honor or/be notified of CriticalSection entry/exit"
Closes #1818 (closed)
Adds the ability register CriticalSection entry and exit callbacks with MultiThreadingMgr and integrates their use into HA hook library.
Edited by Thomas Markwalder