Map
Index
Random
Help
th

Quote: semaphores are the same as a mutex, but a thread does not "hold" a semaphore, there is no precondition for release, and P and V may be textual separated

topics > all references > references a-b > QuoteRef: birrAD_1991a , p. 120



Topic:
critical regions

Quotation Skeleton

The Topaz Thread interface extends the Modula-3 required … semaphores is identical to mutexes, but they are … There is no notion of a thread "holding" … be textually linked. We discourage programmers from using … condition variables. However semaphores are need to synchronize … a thread waits for an interrupt routine action …   Google-1   Google-2

Copyright clearance needed for quotation.

Additional Titles

Quote: if possible, use mutexes and condition variables instead of semaphores. They provide additional structure
Quote: use semaphores to synchronize with an interrupt routine; use P(sem) to block on the interrupt and V(sem) to signal an event

Related Topics up

Topic: critical regions (58 items)

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