多线程命令式语言中的复杂信息流
Complexity Information Flow in a Multi-threaded Imperative Language
摘要:
我们提出了一个类型系统来分析共享全局内存的多线程命令式程序所消耗的时间,它描绘了一类安全的多线程程序。我们证明了一个安全的多线程程序运行在多项式时间,如果(i)它是强终止wrt一个非确定性的调度策略或(ii)它终止wrt一个确定性和安静的调度策略。作为结果,我们还刻画了一组多项式时间函数。所呈现的类型系统基于数据分层的基本概念,这是隐式计算复杂性的核心。它调节计算中的信息流。这方面很有趣,因为类型系统与基于类型的信息流分析和非干扰概念有相似之处。据我们所知,这是多项式时间多线程程序的类型系统的第一个特征。
英文摘要:
We propose a type system to analyze the time consumed by multi-threaded imperative programs with a shared global memory, which delineates a class of safe multi-threaded programs. We demonstrate that a safe multi-threaded program runs in polynomial time if (i) it is strongly terminating wrt a non-deterministic scheduling policy or (ii) it terminates wrt a deterministic and quiet scheduling policy. As a consequence, we also characterize the set of polynomial time functions. The type system presented is based on the fundamental notion of data tiering, which is central in implicit computational complexity. It regulates the information flow in a computation. This aspect is interesting in that the type system bears a resemblance to typed based information flow analysis and notions of non-interference. As far as we know, this is the first characterization by a type system of polynomial time multi-threaded programs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。