Common Contracts

1 similar null contracts

Behavioral Contracts for Cooperative Scheduling
December 17th, 2020
  • Filed
    December 17th, 2020

Abstract. Formal specification of multi-threaded programs is notoriously hard, because thread execution may be preempted at any point. In contrast, abstract concurrency models such as actors seriously restrict concurrency to obtain race-free programs. Languages with cooperative scheduling occupy a middle ground between these extremes by explicit scheduling points. We introduce cooperative contracts, a contract-based specification approach designed for cooperative scheduling. It permits to specify complex concurrent behavior succinctly. Cooperative contracts are formalized as behavioral contracts in a compositional behavioral pro- gram logic in which they can be formally verified.

AutoNDA by SimpleDocs
Time is Money Join Law Insider Premium to draft better contracts faster.