cpp/thread/unique lock/swap

Exchanges the internal states of the lock objects.

Return value
(none)