2013 13th International Conference on Application of Concurrency to System Design (ACSD) (2013)
July 8, 2013 to July 10, 2013
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/ACSD.2013.18
To make the development of efficient multi-core applications easier, libraries, such as Grand Central Dispatch (GCD), have been proposed. When using such a library, the programmer writes so-called blocks, which are chunks of codes, and dispatches them, using synchronous or asynchronous calls, to several types of waiting queues. A scheduler is then responsible for dispatching those blocks on the available cores. Blocks can synchronize via a global memory. In this paper, we propose Queue-Dispatch Asynchronous Systems as a mathematical model that faithfully formalizes the synchronization mechanisms and the behavior of the scheduler in those systems. We study in detail their relationships to classical formalisms such as pushdown systems, Petri nets, fifo systems, and counter systems. Our main technical contributions are precise worst-case complexity results for the Parikh coverability problem and the termination question for several subclasses of our model. We give an outlook on extending our model towards verifying input-parametrized fork- join behaviour with the help of abstractions, and conclude with a hands-on approach for verifying GCD programs in practice
Sockets, Semantics, Libraries, Petri nets, Protocols, Cost accounting, Dispatching
G. Geeraerts, A. Heussner and J. Raskin, "Queue-Dispatch Asynchronous Systems," 2013 13th International Conference on Application of Concurrency to System Design (ACSD), Barcelona, Spain, 2013, pp. 150-159.