home *** CD-ROM | disk | FTP | other *** search
- ------------------------------------------------------------------------------
- -- --
- -- GNAT RUNTIME COMPONENTS --
- -- --
- -- A D A . S Y N C H R O N O U S _ T A S K _ C O N T R O L --
- -- --
- -- S p e c --
- -- --
- -- $Revision: 1.5 $ --
- -- --
- -- This specification is adapted from the Ada Reference Manual for use with --
- -- GNAT. In accordance with the copyright of that document, you can freely --
- -- copy and modify this specification, provided that if you redistribute a --
- -- modified version, any changes that you have made are clearly indicated. --
- -- --
- ------------------------------------------------------------------------------
-
- with System;
-
- package Ada.Synchronous_Task_Control is
-
- type Suspension_Object is limited private;
-
- procedure Set_True (S : in out Suspension_Object);
-
- procedure Set_False (S : in out Suspension_Object);
-
- function Current_State (S : Suspension_Object) return Boolean;
-
- procedure Suspend_Until_True (S : in out Suspension_Object);
-
- private
-
- type Suspension_Object is new System.Address;
- -- ??? temporary for now
-
- end Ada.Synchronous_Task_Control;
-