summaryrefslogtreecommitdiff
path: root/mblock/src/lib/mb_runtime_thread_per_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'mblock/src/lib/mb_runtime_thread_per_block.h')
-rw-r--r--mblock/src/lib/mb_runtime_thread_per_block.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/mblock/src/lib/mb_runtime_thread_per_block.h b/mblock/src/lib/mb_runtime_thread_per_block.h
index 185ed32b5..b44866786 100644
--- a/mblock/src/lib/mb_runtime_thread_per_block.h
+++ b/mblock/src/lib/mb_runtime_thread_per_block.h
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2007 Free Software Foundation, Inc.
+ * Copyright 2007,2009 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -38,7 +38,7 @@ public:
omni_mutex d_workers_mutex; // hold while manipulating d_workers
std::vector<mb_worker*> d_workers;
bool d_shutdown_in_progress;
- pmt_t d_shutdown_result;
+ gruel::pmt_t d_shutdown_result;
mb_msg_queue d_msgq;
mb_timer_queue d_timer_queue;
@@ -49,35 +49,35 @@ public:
bool run(const std::string &instance_name,
const std::string &class_name,
- pmt_t user_arg,
- pmt_t *result);
+ gruel::pmt_t user_arg,
+ gruel::pmt_t *result);
- void request_shutdown(pmt_t result);
+ void request_shutdown(gruel::pmt_t result);
protected:
mb_mblock_sptr
create_component(const std::string &instance_name,
const std::string &class_name,
- pmt_t user_arg);
+ gruel::pmt_t user_arg);
- pmt_t
- schedule_one_shot_timeout(const mb_time &abs_time, pmt_t user_data,
+ gruel::pmt_t
+ schedule_one_shot_timeout(const mb_time &abs_time, gruel::pmt_t user_data,
mb_msg_accepter_sptr accepter);
- pmt_t
+ gruel::pmt_t
schedule_periodic_timeout(const mb_time &first_abs_time,
const mb_time &delta_time,
- pmt_t user_data,
+ gruel::pmt_t user_data,
mb_msg_accepter_sptr accepter);
void
- cancel_timeout(pmt_t handle);
+ cancel_timeout(gruel::pmt_t handle);
private:
void reap_dead_workers();
void run_loop();
- void send_all_sys_msg(pmt_t signal, pmt_t data = PMT_F,
- pmt_t metadata = PMT_F,
+ void send_all_sys_msg(gruel::pmt_t signal, gruel::pmt_t data = gruel::PMT_F,
+ gruel::pmt_t metadata = gruel::PMT_F,
mb_pri_t priority = MB_PRI_BEST);
};