Parallel Programming with Threads in Java: A Case Study
Main Article Content
Abstract
Nowadays, programming using explicit threading is one of the methods more common of parallel programming in architectures with shared memory. Threading is a mechanism that allows the coexistence of multiple activities inside of an only process. This paper compares the performance of a parallel program, when implemented with threading, with its sequential variant. This comparison is carried out in a parallel version of the Reversi game. This version uses the Minimax algorithm (a technique of competitive search used in classic games in Artificial Intelligence). Java Thread API was used for paralleling the game in this work. The results show better performance (smaller execution time) with the program implemented with threads.
Article Details
How to Cite
Parreira Junior, P. A., Costa, H. A. X., Pereira, M. R., & Resende, A. M. P. de. (2010). Parallel Programming with Threads in Java: A Case Study. INFOCOMP Journal of Computer Science, 9(6), 27–33. Retrieved from https://infocomp.dcc.ufla.br/index.php/infocomp/article/view/381
Section
Articles
Upon receipt of accepted manuscripts, authors will be invited to complete a copyright license to publish the paper. At least the corresponding author must send the copyright form signed for publication. It is a condition of publication that authors grant an exclusive licence to the the INFOCOMP Journal of Computer Science. This ensures that requests from third parties to reproduce articles are handled efficiently and consistently and will also allow the article to be as widely disseminated as possible. In assigning the copyright license, authors may use their own material in other publications and ensure that the INFOCOMP Journal of Computer Science is acknowledged as the original publication place.