Skip to main navigation Skip to search Skip to main content

Synchronous Message-Passing with Priority

  • SUNY Buffalo

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In this paper we introduce a tiered-priority mechanism for a synchronous message-passing language with support for selective communication and first-class communication protocols. Crucially our mechanism allows higher priority threads to communicate with lower priority threads, providing the ability to express programs that would be rejected by classic priority mechanisms that disallow any (potentially) blocking interactions between threads of differing priorities. We provide a prototype implementation of our tiered-priority mechanism capable of expressing Concurrent ML and built in the MLton SML compiler and runtime. We evaluate the viability of our implementation by implementing a safe and predictable shutdown mechanisms in the Swerve webserver and eXene windowing toolkit. Our experiments show that priority can be easily added to existing CML programs without degrading performance. Our system exhibits negligible overheads on more modest workloads.

Original languageEnglish
Title of host publicationPractical Aspects of Declarative Languages - 23rd International Symposium, PADL 2021, Proceedings
EditorsJosé F. Morales, Dominic Orchard
PublisherSpringer Science and Business Media Deutschland GmbH
Pages37-53
Number of pages17
ISBN (Print)9783030674373
DOIs
StatePublished - 2021
Event23rd International Symposium on Practical Aspects of Declarative Languages, PADL 2021 - Copenhagen, Denmark
Duration: Jan 18 2021Jan 19 2021

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume12548 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference23rd International Symposium on Practical Aspects of Declarative Languages, PADL 2021
Country/TerritoryDenmark
CityCopenhagen
Period01/18/2101/19/21

Keywords

  • Concurrent ML
  • Priority
  • Synchronous message passing

Fingerprint

Dive into the research topics of 'Synchronous Message-Passing with Priority'. Together they form a unique fingerprint.

Cite this