lock-object

[procedure] lock-object obj

ChezScheme: prevents copying-gc from relocating obj. (It seems that it has nothing to do with mutex.)

See also unlock-object.