The critical section API is now public as part of the non-limited C API.