Re: Optimize Critical Section Functions