TSCommon: Events -> condition variables [WIP]