Document Type
Conference Proceeding
Publication Title
Procedia Computer Science
Abstract
Multicore processors are now the standard CPU architecture, and multithreaded parallel programs are needed to take full advantage of such CPUs. New tools are needed to help students learn how to design and build such parallel programs. In this paper, we present the thread-safe graphics library (TSGL), a new C++11 library that allows different threads to draw to a shared Canvas, which is updated in approximate real-time. Using TSGL, instructors and students can create visualizations that illustrate multithreaded behavior. We present three multithreaded applications that illustrate the use of TSGL to help students see and understand how an application is using parallelism to speed up its computation.
First Page
1986
Last Page
1995
DOI
10.1016/j.procs.2015.05.463
Publication Date
1-1-2015
Recommended Citation
Adams, Joel C.; Crain, Patrick A.; and Van Der Stel, Mark B., "A thread safe graphics library for visualizing parallelism" (2015). University Faculty Publications and Creative Works. 192.
https://digitalcommons.calvin.edu/calvin_facultypubs/192