--  B3030: two tasks may call an entry whose queue holds one.
package Gates is
   protected Gate is
      entry Pass with Max_Queue_Length => 1;
      procedure Open;
   private
      Opened : Boolean := False;
   end Gate;
   task First;
   task Second;
end Gates;
