Title :
Safe-threads: a new model for object-oriented multi-threaded languages
Author :
Mateu, Luis ; Piquer, José Miguel
Author_Institution :
Dept. de Ciencias de la Comput., Chile Univ., Santiago, Chile
Abstract :
Threads have been present in programming languages for some time now. However, they have a bad image among software developers because they lead to unreliable applications. Most of the problems are produced by unexpected critical sections, which are very difficult to find. Little research has been done recently to increase the safety of thread programming. We present a novel model of concurrent threads for object oriented languages which are called safe-threads. We claim safe-threads are a major improvement over traditional threads because first, safe-threads are safe from critical section problems, and second, they are location transparent on a distributed system. The main characteristics of our model are that static variables are not shared among safe-threads and that the objects must provide an explicit interface to be shared. We also outline how the model could be implemented in Java
Keywords :
Java; multi-threading; object-oriented languages; parallel languages; Java; concurrent threads; critical section problems; distributed system; explicit interface; location transparent; object oriented languages; object oriented multi-threaded languages; programming languages; safe-threads; static variables; thread programming; unexpected critical sections; unreliable applications; Computer bugs; Computer languages; Costs; Electrical capacitance tomography; Focusing; Internet; Java; Object oriented modeling; Programming profession; Yarn;
Conference_Titel :
Computer Science Society, 1999. Proceedings. SCCC '99. XIX International Conference of the Chilean
Conference_Location :
Talca
Print_ISBN :
0-7695-0296-2
DOI :
10.1109/SCCC.1999.810167