> I would not use this code without being very thoughtful and intentional about where it was being used.
Sure, definitely not for everybody and every occasion. It's a platform dependent code. See my comment to cnvogel and look at his implementation for an example.
I would not use this code without being very thoughtful and intentional about where it was being used.