Reference

XtProcessUnlock(3) on Linux

The text 3cfee0a105e3, as Debian 8 (Jessie) shipped it.

lock and unlock process

XtProcessUnlock(3) on Linux now