K 10 svn:author V 3 mjg K 8 svn:date V 27 2018-03-04T22:01:23.397066Z K 7 svn:log V 400 mtx: tidy up recursion handling in thread lock Normally after grabbing the lock it has to be verified we got the right one to begin with. However, if we are recursing, it must not change thus the check can be avoided. In particular this avoids a lock read for non-recursing case which found out the lock was changed. While here avoid an irq trip of this happens. Tested by: pho (previous version) END