From 8596e85c855dffd7245d7476c6db2d490556fe70 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 23 Aug 2021 21:40:34 +0900 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 508c4ff..df121bf 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,14 @@ This repo has some examples using multi-threaded-programming because someone asked about how it works. + +# 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.