ucpf::yesod: lightweight locks and synchronization variables

Signed-off-by: Alex Dubov <oakad@yahoo.com>