We revisit finite-state communicating systems with round-based communication under mailbox semantics. Mailboxes correspond to one FIFO buffer per process (instead of one buffer per pair of processes in peer-to-peer systems). Round-based communication corresponds to sequences of rounds in which processes can first send messages, then only receive (and receives must be in the same round as their sends). A system is called synchronizable if every execution can be re-scheduled into an equivalent execution that is a sequence of rounds. Previous work mostly considered the setting where rounds have fixed size. Our main contribution shows that the problem whether a mailbox communication system complies with the round-based policy, with no size limitation on rounds, is Pspace-complete. For this we use a novel automata-based approach, that also allows to determine the precise complexity (Pspace) of several questions considered in previous literature.
翻译:我们重新研究了基于轮次的邮箱语义下的有限状态通信系统。邮箱对应每个进程一个FIFO缓冲区(而非点对点系统中每对进程一个缓冲区)。轮次通信指进程先发送消息、随后仅接收消息的轮次序列(且接收必须与发送处于同一轮次)。若系统的所有执行均可重新调度为等效的轮次序列执行,则称该系统为可同步的。先前研究主要关注轮次大小固定的场景。我们的核心贡献在于证明:判断邮箱通信系统是否符合无轮次大小限制的轮次策略问题是Pspace完全的。为此,我们采用了一种新颖的基于自动机的方法,该方法还能精确确定先前文献中多个问题的复杂度(Pspace)。