Critical Section Locks in ResourceMonitor and WorkQueueClass

a) ResourceMonitor has static members like _transactions, etc. – they are accessed completely without any locking.

b) There is a 2xflag in the WorkQueueClass that indicates whether it is processing – its setting and reading also do not use any locking.