kamil-tarnas / GameOfLife

Implementation of John Conway's Game of Life cellular automation
GNU General Public License v2.0
0 stars 1 forks source link

Run multi-threaded version for TUI setup #24

Closed kamil-tarnas closed 4 years ago

kamil-tarnas commented 4 years ago

https://github.com/cavemanjaw/GameOfLife/commit/7e3ffd1fe99069fa1cf46659e8a4478b835934a4 The above commit was a quick fix, full solution is needed.

Investigate if it was improved.

  1. Is it always one thread that is started from TUI?
  2. Is there already an option to run multi-threaded version from TUI? Does it work? Completely lack of such possibility?
kamil-tarnas commented 4 years ago

fe43f8702077e1d7043c16f083427ecac4d4a0c2 and 785a4f59396af31e5261e31c5ee450c7b416ca63 fixing the issue.

Ad 1. Yes, was hardcoded as a quick fix only for TUI mode Ad 2. Yes, right now it is possible to provide the number of threads in TUI mode