Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Ada Programming/Libraries/System.Multiprocessors.Dispatching Domains

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

System.Multiprocessors.Dispatching_Domains __TOC__ System Multiprocessors Dispatching_Domains is a unit of the Predefined Language Environment since Ada 2012. Specification Standard Ada library specification Copyright (c) 2004-2016 AXE Consultants Copyright (c) 2004, 2005, 2006 Ada-Europe Copyright (c) 2000 The MITRE Corporation, Inc. Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual ------------------------------------------------------------------------- with Ada Real_Time; with Ada Task_Identification; package System Multiprocessors Dispatching_Domains is Dispatching_Domain_Error : exception; type Dispatching_Domain (box <>) is limited private; System_Dispatching_Domain : constant Dispatching_Domain; function Create (First : CPU; Last : CPU_Range) return Dispatching_Domain; function Get_First_CPU (Domain : Dispatching_Domain) return CPU; function Get_Last_CPU (Domain : Dispatching_Domain) return CPU_Range; type CPU_Set is array(CPU range box <>) of Boolean; function Create (Set : CPU_Set) return Dispatching_Domain; function Get_CPU_Set (Domain : Dispatching_Domain) return CPU_Set; function Get_Dispatching_Domain (T : Adadot .Task_Identificationdot .Task_Id := Adadot .Task_Identificationdot .Current_Task) return Dispatching_Domain; procedure Assign_Task (Domain : in out Dispatching_Domain; CPU : in CPU_Range := Not_A_Specific_CPU; T : in Adadot .Task_Identificationdot .Task_Id := Adadot .Task_Identificationdot .Current_Task); procedure Set_CPU (CPU : in CPU_Range; T : in Adadot .Task_Identificationdot .Task_Id := Adadot .Task_Identificationdot .Current_Task); function Get_CPU (T : Adadot .Task_Identificationdot .Task_Id := Adadot .Task_Identificationdot .Current_Task) return CPU_Range; procedure Delay_Until_And_Set_CPU (Delay_Until_Time : in Adadot .Real_Timedot .Time; CPU : in CPU_Range); private not specified by the language end Systemdot .Multiprocessorsdot .Dispatching_Domains; See also Wikibook Ada Programming/Libraries/System Ada Programming/Libraries/System.Multiprocessors Ada Reference Manual Ada 2012 D 16 1 Multiprocessor Dispatching Domains Open-Source Implementations s-mudido.ads s-mudido.adb tasking/s-mudido.ads