TY - GEN
T1 - Contextual locking for dynamic pushdown networks
AU - Lammich, Peter
AU - Müller-Olm, Markus
AU - Seidl, Helmut
AU - Wenner, Alexander
N1 - Funding Information:
This work was partially funded by the DFG project OpIAT (Optimal Interprocedural Analysis of Programs with Thread Creation, MU 1508/1 and SE 551/13).
PY - 2013
Y1 - 2013
N2 - Contextual locking is a scheme for synchronizing between possibly recursive processes that has been proposed by Chadha et al. recently. Contextual locking allows for arbitrary usage of locks within the same procedure call and Chadha et al. show that control-point reachability for two processes adhering to contextual locking is decidable in polynomial time. Here, we complement these results. We show that in presence of contextual locking, control-point reachability becomes PSPACE-hard, already if the number of processes is increased to three. On the other hand, we show that PSPACE is both necessary and sufficient for deciding control-point reachability of k processes for k > 2, and that this upper bound remains valid even if dynamic spawning of new processes is allowed. Furthermore, we consider the problem of regular reachability, i.e., whether a configuration within a given regular set can be reached. Here, we show that this problem is decidable for recursive processes with dynamic thread creation and contextual locking. Finally, we generalize this result to processes that additionally use a form of join operations.
AB - Contextual locking is a scheme for synchronizing between possibly recursive processes that has been proposed by Chadha et al. recently. Contextual locking allows for arbitrary usage of locks within the same procedure call and Chadha et al. show that control-point reachability for two processes adhering to contextual locking is decidable in polynomial time. Here, we complement these results. We show that in presence of contextual locking, control-point reachability becomes PSPACE-hard, already if the number of processes is increased to three. On the other hand, we show that PSPACE is both necessary and sufficient for deciding control-point reachability of k processes for k > 2, and that this upper bound remains valid even if dynamic spawning of new processes is allowed. Furthermore, we consider the problem of regular reachability, i.e., whether a configuration within a given regular set can be reached. Here, we show that this problem is decidable for recursive processes with dynamic thread creation and contextual locking. Finally, we generalize this result to processes that additionally use a form of join operations.
UR - http://www.scopus.com/inward/record.url?scp=84884471558&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-38856-9_25
DO - 10.1007/978-3-642-38856-9_25
M3 - Conference contribution
AN - SCOPUS:84884471558
SN - 9783642388552
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 477
EP - 498
BT - Static Analysis - 20th International Symposium, SAS 2013, Proceedings
T2 - 20th International Static Analysis Symposium, SAS 2013
Y2 - 20 June 2013 through 22 June 2013
ER -