Update README.md
This commit is contained in:
parent
c499833748
commit
8596e85c85
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -2,3 +2,14 @@
|
||||||
|
|
||||||
This repo has some examples using multi-threaded-programming because someone
|
This repo has some examples using multi-threaded-programming because someone
|
||||||
asked about how it works.
|
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.
|
||||||
|
|
Loading…
Reference in a new issue