Hi, Wouldn't the easiest and safest option to be just add the single-threaded check so 99% of applications just bypass the locks? Also I would strongly suggest to optimize the generic code first - target-specific optimizations are almost always counter productive in the long term. Cheers, Wilco