fix compilation issue

master
Francisco Paisana 5 years ago
parent ac4d3b9624
commit b2d3c2a150

@ -30,6 +30,7 @@
#include <algorithm>
#include <condition_variable>
#include <functional>
#include <mutex>
#include <queue>
#include <vector>
@ -257,7 +258,8 @@ moveable_task_t<Capture> bind_task(Func&& f, Capture&& c)
return moveable_task_t<Capture>{std::forward<Func>(f), std::forward<Capture>(c)};
}
using multiqueue_task_handler = multiqueue_handler<moveable_task_t<srslte::unique_byte_buffer_t> >;
template <typename Capture>
using multiqueue_task_handler = multiqueue_handler<moveable_task_t<Capture> >;
} // namespace srslte

@ -161,7 +161,7 @@ private:
// Thread
static const int STACK_MAIN_THREAD_PRIO = -1; // Use default high-priority below UHD
using task_t = srslte::moveable_task_t<srslte::unique_byte_buffer_t>;
srslte::multiqueue_task_handler pending_tasks;
srslte::multiqueue_task_handler<srslte::unique_byte_buffer_t> pending_tasks;
int sync_queue_id = -1, ue_queue_id = -1, gw_queue_id = -1, mac_queue_id = -1, background_queue_id = -1;
srslte::task_thread_pool background_tasks; ///< Thread pool used for long, low-priority tasks
};

Loading…
Cancel
Save