Skip to content

Commit

Permalink
Merge pull request #516 from ulteq/multiThreadingCleanup
Browse files Browse the repository at this point in the history
Signifficant cleanup of physics and multithreading.
* Simplified overly complex threading logic - Instead of having a fixed number of thread tasks and skipping trucks based on the thread index, we now have one thread task per simulated truck.
* Moved MT physics management logic from class Beam -> class BeamFactory (singleton). This cleans up duplicated and misplaced threading logic away from Beam instances.
  • Loading branch information
Petr Ohlídal committed Jan 12, 2016
2 parents d2aff94 + 7cfc23d commit 2c1a9d3
Show file tree
Hide file tree
Showing 4 changed files with 301 additions and 384 deletions.

0 comments on commit 2c1a9d3

Please sign in to comment.