aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/tasks.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-05-03 15:59:47 -0700
committerMartin Braun <martin.braun@ettus.com>2017-05-03 15:59:47 -0700
commitc3beb6d1ec2f11ab4d8153b43396d07127cd4f20 (patch)
treecb71d69a3ff09f6c81cf6454d4dd1bb33a2a1382 /host/lib/utils/tasks.cpp
parent15f0140cd715900b3950b477fb156b0435235c4a (diff)
parente6c8cee6e9e6dbe257bc6a77899306e611d44d71 (diff)
downloaduhd-c3beb6d1ec2f11ab4d8153b43396d07127cd4f20.tar.gz
uhd-c3beb6d1ec2f11ab4d8153b43396d07127cd4f20.tar.bz2
uhd-c3beb6d1ec2f11ab4d8153b43396d07127cd4f20.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/utils/tasks.cpp')
-rw-r--r--host/lib/utils/tasks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/utils/tasks.cpp b/host/lib/utils/tasks.cpp
index 4cc28e48b..5dac729c8 100644
--- a/host/lib/utils/tasks.cpp
+++ b/host/lib/utils/tasks.cpp
@@ -32,7 +32,7 @@ public:
task_impl(const task_fcn_type &task_fcn):
_spawn_barrier(2)
{
- _thread_group.create_thread(boost::bind(&task_impl::task_loop, this, task_fcn));
+ (void)_thread_group.create_thread(boost::bind(&task_impl::task_loop, this, task_fcn));
_spawn_barrier.wait();
}
@@ -99,7 +99,7 @@ public:
msg_task_impl(const task_fcn_type &task_fcn):
_spawn_barrier(2)
{
- _thread_group.create_thread(boost::bind(&msg_task_impl::task_loop, this, task_fcn));
+ (void)_thread_group.create_thread(boost::bind(&msg_task_impl::task_loop, this, task_fcn));
_spawn_barrier.wait();
}