static use of FastCriticalSection