core: Make atomic methods public
std::rt: Use AtomicUint instead of intrinsics in comm
std::rt: Destroy the task start closure while in task context
std::rt: Remove in incorrect assert