The Community for Technology Leaders
2013 13th International Conference on Application of Concurrency to System Design (ACSD) (2013)
Barcelona, Spain
July 8, 2013 to July 10, 2013
ISSN: 1550-4808
ISBN: 978-0-7695-5035-0
pp: 150-159
ABSTRACT
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
INDEX TERMS
Sockets, Semantics, Libraries, Petri nets, Protocols, Cost accounting, Dispatching
CITATION

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.
doi:10.1109/ACSD.2013.18
83 ms
(Ver 3.3 (11022016))