Map
Index
Random
Help
th

Quote: AlertWait waits on a mutex and condition variable until a signal or explicit alert; an alert raises an exception

topics > all references > references a-b > QuoteRef: birrAD_1991 , p. 94



Topic:
waitfor condition in parallel processing
Topic:
interrupts
Topic:
non-preemptive task scheduling

Quotation Skeleton

The final aspect of [Modula-3's] Thread interface is … or computation. … A call to AlertWait behaves the same as … [unless alert-pending is true]. If you call Alert(t) when t is currently blocked on … m and then it raises the exception Alerted. … The call TestAlert atomically tests and clears the … [p. 115] Notice that if t is computing rather … responsibility to periodically call TestAlert in long-running computations. …   Google-1   Google-2

Copyright clearance needed for quotation.

Additional Titles

Quote: use TestAlert during long-running computations to allow thread interruption

Related Topics up

Topic: waitfor condition in parallel processing (20 items)
Topic: interrupts (25 items)
Topic: non-preemptive task scheduling (16 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.