KierannCode / Playground

Project about creating a game engine with SDL from scratch, this is for fun and for my personal experience only
0 stars 0 forks source link

Create interface OSDL::Thread #5

Open KierannCode opened 2 years ago

KierannCode commented 2 years ago

The project currently uses the standalone class OSDL::ThreadLoop which is not functionally atomic

The two current threads implemented in the project are both infinite loops with different behaviors. The core loop is based on a regular frequency, and the video loop is controller by the latter.

Consider creating a basic OSDL::Thread interface