-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Object.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.TimeSpan.Valuetype is tagged;
with MSSyst.Object;
package MSSyst.Threading.Monitor is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ is new MSSyst.Object.Typ with record
      null;
   end record;
   procedure Enter(
      obj : MSSyst.Object.Ref);
   procedure Exit_k(
      obj : MSSyst.Object.Ref);
   procedure Pulse(
      obj : MSSyst.Object.Ref);
   procedure PulseAll(
      obj : MSSyst.Object.Ref);
   function TryEnter(
      obj : MSSyst.Object.Ref;
      timeout : MSSyst.TimeSpan.Valuetype) return Standard.Boolean;
   function TryEnter(
      obj : MSSyst.Object.Ref;
      millisecondsTimeout : Integer) return Standard.Boolean;
   function TryEnter(
      obj : MSSyst.Object.Ref) return Standard.Boolean;
   function Wait(
      obj : MSSyst.Object.Ref) return Standard.Boolean;
   function Wait(
      obj : MSSyst.Object.Ref;
      timeout : MSSyst.TimeSpan.Valuetype;
      exitContext : Standard.Boolean) return Standard.Boolean;
   function Wait(
      obj : MSSyst.Object.Ref;
      millisecondsTimeout : Integer;
      exitContext : Standard.Boolean) return Standard.Boolean;
   function Wait(
      obj : MSSyst.Object.Ref;
      timeout : MSSyst.TimeSpan.Valuetype) return Standard.Boolean;
   function Wait(
      obj : MSSyst.Object.Ref;
      millisecondsTimeout : Integer) return Standard.Boolean;
private
   pragma Convention(MSIL,Typ);
   pragma Import(MSIL,Enter,"Enter");
   pragma Import(MSIL,Exit_k,"Exit");
   pragma Import(MSIL,Pulse,"Pulse");
   pragma Import(MSIL,PulseAll,"PulseAll");
   pragma Import(MSIL,TryEnter,"TryEnter");
   pragma Import(MSIL,Wait,"Wait");
end MSSyst.Threading.Monitor;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Threading.Monitor,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Threading.Monitor");
