Ada 程式設計/庫/Ada.Containers.Synchronized_Queue_Interfaces
外觀
此語言特性在 Ada 2012 中引入。
Ada.Containers.Synchronized_Queue_Interfaces 是自 Ada 2012 以來 預定義語言環境 的一個單元。
-- 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 -- -------------------------------------------------------------------------generictypeElement_Typeisprivate;packageAda.Containers.Synchronized_Queue_InterfacesispragmaPure(Synchronized_Queue_Interfaces);typeQueueissynchronizedinterface;procedureEnqueue (Container :inoutQueue; New_Item :inElement_Type)isabstractwithSynchronization => By_Entry;procedureDequeue (Container :inoutQueue; Element :outElement_Type)isabstractwithSynchronization => By_Entry;functionCurrent_Use (Container : Queue)returnCount_Typeisabstract;functionPeak_Use (Container : Queue)returnCount_Typeisabstract;endAda.Containers.Synchronized_Queue_Interfaces;
外部示例
[編輯原始碼]- 在以下位置搜尋
Ada.Containers.Synchronized_Queue_Interfaces的示例:Rosetta Code,GitHub (gists),任何 Alire 包 或 此華夏公益教科書。 - 在以下位置搜尋與
Ada.Containers.Synchronized_Queue_Interfaces相關的帖子:Stack Overflow,comp.lang.ada 或 任何與 Ada 相關的頁面。
FSF GNAT
- 規範:a-csquin.ads
drake
