ntdll: Add a helper function to create a thread on the server side.
ntdll: Add a helper function to create a thread with pthread.