core.thread: Make the docs for the critical regions API visible.

In retrospect, I think it was a mistake to not make the docs visible. If nobody can see that the functions exist, they won't try to use them. Instead, let's make the docs visible but with a big, red "this is an experimental API" note.