mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-01 11:49:58 +00:00
Switch to std::vector.
This commit is contained in:
parent
6a509c1280
commit
92efad4970
@ -12,9 +12,9 @@
|
|||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <list>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#if defined(__APPLE__) && !defined(IGNORE_APPLE)
|
#if defined(__APPLE__) && !defined(IGNORE_APPLE)
|
||||||
#include <dispatch/dispatch.h>
|
#include <dispatch/dispatch.h>
|
||||||
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
namespace Concurrency {
|
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
|
An async task queue allows a caller to enqueue void(void) functions. Those functions are guaranteed
|
||||||
|
Loading…
Reference in New Issue
Block a user