Utilize este identificador para referenciar este registo:
http://hdl.handle.net/10362/11471| Título: | Preventing atomicity violations with contracts |
| Autor: | Sousa, Diogo Miguel Gaspar de |
| Orientador: | Lourenço, João Ferreira, Carla |
| Palavras-chave: | Atomicity violation Concurrency Thread safety Design by contract Program analysis |
| Data de Defesa: | 2013 |
| Editora: | Faculdade de Ciências e Tecnologia |
| Resumo: | Concurrent programming is a difficult and error-prone task because the programmer must reason about multiple threads of execution and their possible interleavings. A concurrent program must synchronize the concurrent accesses to shared memory regions, but this is not enough to prevent all anomalies that can arise in a concurrent setting. The programmer can misidentify the scope of the regions of code that need to be atomic, resulting in atomicity violations and failing to ensure the correct behavior of the program. Executing a sequence of atomic operations may lead to incorrect results when these operations are co-related. In this case, the programmer may be required to enforce the sequential execution of those operations as a whole to avoid atomicity violations. This situation is specially common when the developer makes use of services from third-party packages or modules. This thesis proposes a methodology, based on the design by contract methodology, to specify which sequences of operations must be executed atomically. We developed an analysis that statically verifies that a client of a module is respecting its contract, allowing the programmer to identify the source of possible atomicity violations. |
| URI: | http://hdl.handle.net/10362/11471 |
| Aparece nas colecções: | FCT: DI - Dissertações de Mestrado |
Ficheiros deste registo:
| Ficheiro | Descrição | Tamanho | Formato | |
|---|---|---|---|---|
| Sousa_2013.pdf | 597,37 kB | Adobe PDF | Ver/Abrir |
Todos os registos no repositório estão protegidos por leis de copyright, com todos os direitos reservados.











