Arrow Research search
Back to LPAR

LPAR 2013

Relaxing Synchronization Constraints in Behavioral Programs

Conference Paper Accepted Paper Artificial Intelligence · Logic in Computer Science

Abstract

Abstract In behavioral programming, a program consists of separate modules called behavior threads, each representing a part of the system’s allowed, necessary or forbidden behavior. An execution of the program is a series of synchronizations between these threads, where at each synchronization point an event is selected to be carried out. As a result, the execution speed is dictated by the slowest thread. We propose an eager execution mechanism for such programs, which builds upon the realization that it is often possible to predict the outcome of a synchronization point even without waiting for slower threads to synchronize. This allows faster threads to continue running uninterrupted, whereas slower ones catch up at a later time. Consequently, eager execution brings about increased system performance, better support for the modular design of programs, and the ability to distribute programs across several machines. It also allows to apply behavioral programming to a variety of problems that were previously outside its scope. We illustrate the method by concrete examples, implemented in a behavioral programming framework in C + +.

Authors

Keywords

No keywords are indexed for this paper.

Context

Venue
International Conference on Logic for Programming, Artificial Intelligence and Reasoning
Archive span
1992-2024
Indexed papers
780
Paper id
322767541226796832
v2026.09.13