Multithreaded programming in structural and object-oriented languages


Abstract

The article presents multithreaded programming in selected programming languages such as: C structural and C ++ object oriented approach using Posix Threads libraries for C language and Boost library for C ++ language. The characteristics of selected libraries are also
described. Examples of typical programming problems using threads are presented. An effort was made to answer the question of what to do when choosing a language for learning multithread programming and programming in the general meaning of this word.


Keywords

programming; multithreading; pthreads; boost

[1] Stephen Prata, Język C. Szkoła programowania. Wydanie VI, Helion, 2016.
[2] Alex Allain, C++. Przewodnik dla początkujących, Helion, 2014.
[3] Dick Buttlar, Jacqueline Farrell, Bradford Nichols, Pthreads Programming A POSIX Standard for Better Multiprocessing, Wydawnictwo O'Reilly Media, 2013.
[4] Douglas C. Schmidt, Stephen D. Huston, C++ Network Programming Volume 1 Addison-Wesley Professional; 1 edition, 2001.
[5] Boris Sch Ling, The Boost C++ Libraries, Wydawnictwo XML Press, 2011.
[6] Bjarne Stroustrup, "Why C++ is not just an Object-Oriented Programming Language", Sigplan, 1995.
[7] LukasEinkemmer, A resistive magnetohydrodynamics solver using modern C++ and the Boost library, Elsevier B.V., 2016.
[8] https://theboostcpplibraries.com/introduction[20.11.2018]
[9] https://mortoray.com/2011/12/16/how-does-a-mutex-workwhat-does-it-cost/[20.11.2018]
[10] Bil Lewis, Multithreaded Programming With PThreads Prentice Hall; 136th ed. edition (9 December 1997)
[11] David R. Butenhof Programming with POSIX Threads, Addison Wesley Longman, Inc,1997

Published : 2019-03-30


Wiśniewski, M. (2019). Multithreaded programming in structural and object-oriented languages . Journal of Computer Sciences Institute, 10, 49-53. https://doi.org/10.35784/jcsi.194

Mateusz Wiśniewski  wmmateusz@gmail.com
Lublin University of Technology  Poland