You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Stephen Seo ad84fe083d Ex02: Minor improvements 2 years ago
example01_singleThread_c_impl Create example01 2 years ago
example02_threaded_raytracing Ex02: Minor improvements 2 years ago
LICENSE Add MIT License 2 years ago Update 2 years ago

What this repo is

This repo has some examples using multi-threaded-programming because someone asked about how it works.


The examples have only been built/tested on Linux.

Example 1

Just a very simple program that spawns a separate thread, prints some text, and joins and stops.

Example 2

Kind of overkill to implement a simple raytracer, but I needed something that would take time to render and would benefit from multiple threads. This example renders a scene with three lights and some spheres.

Legal Stuff

The examples use CMake as their build system. CMake's License.