diff options
author | Josh Blum | 2012-09-11 01:27:19 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-11 01:27:19 -0700 |
commit | 02f896e5a66575df4f16593584a7bc6892adf81c (patch) | |
tree | 80747cddeddfebfe4fa6f5db6af2625866b4ce63 /lib/element_impl.hpp | |
parent | 053d2f5cdbb4027d65aa7cb8af851a9edeac1d0a (diff) | |
download | sandhi-02f896e5a66575df4f16593584a7bc6892adf81c.tar.gz sandhi-02f896e5a66575df4f16593584a7bc6892adf81c.tar.bz2 sandhi-02f896e5a66575df4f16593584a7bc6892adf81c.zip |
work on interruptible_thread
Diffstat (limited to 'lib/element_impl.hpp')
-rw-r--r-- | lib/element_impl.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/element_impl.hpp b/lib/element_impl.hpp index 2119935..b4f2c1b 100644 --- a/lib/element_impl.hpp +++ b/lib/element_impl.hpp @@ -21,6 +21,7 @@ #include <gras_impl/misc.hpp> #include <gras_impl/vector_of_queues.hpp> #include <gras_impl/input_buffer_queues.hpp> +#include <gras_impl/interruptible_thread.hpp> #include <tsbe/block.hpp> #include <tsbe/topology.hpp> @@ -105,6 +106,10 @@ struct ElementImpl Block *block_ptr; tsbe::TaskInterface work_task_iface; //only valid during work + //interruptible thread stuff + SharedThreadGroup thread_group; + boost::shared_ptr<InterruptibleThread> interruptible_thread; + //handlers void handle_input_msg(const tsbe::TaskInterface &, const size_t, const tsbe::Wax &); void handle_output_msg(const tsbe::TaskInterface &, const size_t, const tsbe::Wax &); |