Mobile Calculi based on Domains


On Re-classification and Multithreading

F. Damiani and M. {Dezani-Ciancaglini} and P. Giannini

Abstract

In this paper we consider re-classification in the presence of multi-threading. To this aim we define a multi-threaded extension of the language Fickle, that we call FickleMT. We define an operational semantics and a type and effect system for the language. Each method signature carries the information on the possible effects of the method execution. The type and effect system statically checks this information. The operational semantics uses this information in order to delay the execution of some threads when this could cause access to non-existing members of objects. We show that in the execution of a well-typed expression such delays do not produce deadlock. Lastly we discuss a translation from FickleMT into Java, showing how the operational semantics can be implemented with the standard Java multi-threading constructs.

@Article\{damiani.etal:on-reclassification-multithreading,
  author = \{F. Damiani and M. {Dezani-Ciancaglini} and P. Giannini},
  title = \{On Re-classification and Multithreading},
  journal = \{JOT-04},
  year = \{2004}, 
  volume = \{3}, 
  number = \{11}, 
  pages = \{5-30}, 
  url = \{http://mikado.di.fc.ul.pt/repository/damiani.etal_on-reclassification-multithreading.pdf}
}


About this site. Last modified: Fri Apr 26 02:25:24 CEST 2024