Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Ada Programming/Libraries/System.Multiprocessors.Dispatching_Domains

From Wikibooks, open books for an open world
<Ada Programming |Libraries
Computing »Computer Science »Computer Programming »Ada Programming

Ada. Time-tested, safe and secure.
Ada. Time-tested, safe and secure.

This language feature has been introduced inAda 2012.

System.Multiprocessors.Dispatching_Domains is a unit of thePredefined Language Environment since Ada 2012.

 This page is astub. You can improve theAda Programming wikibook by reading thecontributing guidelines andexpanding it.

Specification

[edit |edit source]
--                     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-- -------------------------------------------------------------------------withAda.Real_Time;withAda.Task_Identification;packageSystem.Multiprocessors.Dispatching_Domainsis   Dispatching_Domain_Error:exception;type Dispatching_Domain(<>)islimitedprivate;   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_Setisarray(CPUrange<>)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: Ada.Task_Identification.Task_Id:=                 Ada.Task_Identification.Current_Task)return Dispatching_Domain;procedure Assign_Task(Domain:inout Dispatching_Domain;       CPU:in     CPU_Range:= Not_A_Specific_CPU;       T:in     Ada.Task_Identification.Task_Id:=                 Ada.Task_Identification.Current_Task);procedure Set_CPU(CPU:in CPU_Range;       T:in Ada.Task_Identification.Task_Id:=                 Ada.Task_Identification.Current_Task);function Get_CPU(T: Ada.Task_Identification.Task_Id:=                 Ada.Task_Identification.Current_Task)return CPU_Range;procedure Delay_Until_And_Set_CPU(Delay_Until_Time:in Ada.Real_Time.Time; CPU:in CPU_Range);private--  not specified by the languageend System.Multiprocessors.Dispatching_Domains;

See also

[edit |edit source]

Wikibook

[edit |edit source]

External examples

[edit source]

Ada Reference Manual

[edit |edit source]

Ada 2012

[edit |edit source]

Open-Source Implementations

[edit |edit source]

FSF GNAT

drake

Retrieved from "https://en.wikibooks.org/w/index.php?title=Ada_Programming/Libraries/System.Multiprocessors.Dispatching_Domains&oldid=3969428"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp