pub fn guarded() -> (Flag, Guard)
Create a new guarded flag. The flag obtains when the guard is dropped.