From 96a58cc251354954241aa2c9008b25d98daaad92 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 19 Jan 2021 20:35:29 +0000 Subject: Add basic work and worker thread pool Well... that requires GCC 11 cos 10 doesn't implement semaphore. --- application/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'application') diff --git a/application/main.cpp b/application/main.cpp index 73f337b..ed3c1c7 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -13,6 +13,7 @@ #include #include #include +#include static const int DISPLAY_WIDTH = 800; static const int DISPLAY_HEIGHT = 600; @@ -60,6 +61,8 @@ public: Collection windows; windows.create(DISPLAY_WIDTH, DISPLAY_HEIGHT, "OpenGL"); + Worker w; + World world; world.create(); -- cgit v1.2.3