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

Split abstract class OSDL::ThreadLoop in two classes #6

Open KierannCode opened 2 years ago

KierannCode commented 2 years ago

This abstract class is the current thread interface used for both threads in the project.

It is not functionally atomic, it should be split in two interface : OSDL::Thread and another interface OSDL::Loop (name not fixed yet) Note that the latter interface can then be used in the main loop (currently the event loop), which is not possible with OSDL::ThreadLoop

KierannCode commented 2 years ago

This issue requires #5 to be resolved first