Ada 程式設計/庫/Ada.Synchronous_Barriers
外觀
此語言特性在 Ada 2012 中引入。
Ada.Synchronous_Barriers 是 預定義語言環境 自 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 -- -------------------------------------------------------------------------packageAda.Synchronous_BarriersispragmaPreelaborate(Synchronous_Barriers);subtypeBarrier_LimitisPositiverange1 .. implementation_defined;typeSynchronous_Barrier (Release_Threshold : Barrier_Limit)islimitedprivate;procedureWait_For_Release (The_Barrier :inoutSynchronous_Barrier; Notified :outBoolean);private-- not specified by the languageendAda.Synchronous_Barriers;
外部示例
[編輯原始碼]- 在以下位置搜尋
Ada.Synchronous_Barriers的示例:Rosetta 程式碼,GitHub (gists),任何 Alire 包 或 本華夏公益教科書。 - 在以下位置搜尋與
Ada.Synchronous_Barriers相關的帖子:Stack Overflow,comp.lang.ada 或 任何與 Ada 相關的頁面。
FSF GNAT
- 規範:a-synbar.ads
- 主體:a-synbar.adb
drake
