cpp/thread/shared lock/swap2

Specializes the std algorithm for std. Exchanges the state of with that of. Effectively calls.

Return value
(none)