Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Ada Programming/Keywords/delay

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

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

Delay statements

[edit |edit source]

Relative delays

[edit |edit source]
delay Wait_Time;

The Ravenscar profile forbids the use of the relative delay statement:

pragmaRestrictions(No_Relative_Delay)

This language feature is only available fromAda 2005 on.

Absolute delays

[edit |edit source]
delayuntil Next_Time;

Select statements

[edit |edit source]

Delay alternative

[edit |edit source]

Selective accept:

selectwhen Cond =>      accept_statement      statementsor  delay_alternativeendselect;

Timed entry call

[edit |edit source]
select   entry_call_alternativeor   delay_alternativeendselect;

Asynchronous transfer of control

[edit |edit source]
selectdelayuntil Abort_Time;statementsthenabortabortable_partendselect;

See also

[edit |edit source]

Wikibook

[edit |edit source]

Ada Reference Manual

[edit |edit source]

Ada Quality and Style Guide

[edit |edit source]


Ada Keywords
abortelsenewreturn
abselsifnotreverse
abstract (Ada 95)endnull
acceptentryselect
accessexceptionofseparate
aliased (Ada 95)exitorsome (Ada 2012)
allotherssubtype
andforoutsynchronized (Ada 2005)
arrayfunctionoverriding (Ada 2005)
attagged (Ada 95)
genericpackagetask
begingotoparallel (Ada 2022)terminate
bodypragmathen
ifprivatetype
caseinprocedure
constantinterface (Ada 2005)protected (Ada 95)until (Ada 95)
isuse
declareraise
delaylimitedrangewhen
deltalooprecordwhile
digitsremwith
domodrenames
requeue (Ada 95)xor
Retrieved from "https://en.wikibooks.org/w/index.php?title=Ada_Programming/Keywords/delay&oldid=3250127"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp