Utilize este identificador para referenciar este registo:
https://hdl.handle.net/1822/34915
Título: | Concurrency annotations in C++ |
Autor(es): | Baquero, Carlos Moura, Francisco |
Data: | Jul-1994 |
Editora: | Association for Computing Machinery (ACM) |
Revista: | ACM SIGPLAN Notices |
Resumo(s): | This paper describes CA/C++, Concurrency Annotations in C++, a language extension that regulates method invocations from multiple threads of execution in a shared-memory multiprocessor system. This system provides threads as an orthogonal element to the language, allowing them to travel through more than one object. Statically type-ckecked synchronous and asynchronous method invocations are supported, with return values from asynchronous invocations accessed through first class future-like objects. Method invocations are regulated with synchronization code defined in a separate class hierarchy, allowing separate definition and inheritance of synchronization mechanisms. Each method is protected by an access flag that can be switched in pre and post-actions, and by a predicate. Both must evaluate to true in order to enable a thread to animate the method code. Flags and method predicates are independently redefinable along the inheritance chain, thus avoiding the inheritance anomaly. |
Tipo: | Artigo |
URI: | https://hdl.handle.net/1822/34915 |
DOI: | 10.1145/181593.181603 |
ISSN: | 0362-1340 |
Arbitragem científica: | yes |
Acesso: | Acesso aberto |
Aparece nas coleções: | HASLab - Artigos em revistas internacionais |