Multithreading is a fundamental approach to expressing parallelism in programs. Since Java is emerging as the de facto standard language for platform independent software development in higher education, there is need for teaching multithreading in the context of Java. We use a simple problem from scientific computing to explain two different multithreading approaches to second-year students. More precisely, a simple boundary value problem is considered, which makes visible the differences between native Java threads and the OpenMP interface. So, the students are able to appreciate the respective merits and drawbacks of a thread package that is integrated into the Java programming language and an approach combining compiler support with library calls. © Springer-Verlag 2004.
CITATION STYLE
Martin Bücker, H., Lang, B., Pflug, H. J., & Vehreschild, A. (2004). Threads in an undergraduate course: A java example illuminating different multithreading approaches. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 3044, 882–891. https://doi.org/10.1007/978-3-540-24709-8_93
Mendeley helps you to discover research relevant for your work.