1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Switch to std::vector.

This commit is contained in:
Thomas Harte 2022-07-13 21:36:01 -04:00
parent 6a509c1280
commit 92efad4970

View File

@ -12,9 +12,9 @@
#include <atomic>
#include <condition_variable>
#include <functional>
#include <list>
#include <memory>
#include <thread>
#include <vector>
#if defined(__APPLE__) && !defined(IGNORE_APPLE)
#include <dispatch/dispatch.h>
@ -23,7 +23,7 @@
namespace Concurrency {
using TaskList = std::list<std::function<void(void)>>;
using TaskList = std::vector<std::function<void(void)>>;
/*!
An async task queue allows a caller to enqueue void(void) functions. Those functions are guaranteed