summaryrefslogtreecommitdiff
path: root/gcell/lib/runtime/gc_job_manager_impl.h
diff options
context:
space:
mode:
authorJohnathan Corgan2010-04-18 20:13:47 -0700
committerEric Blossom2010-04-22 22:04:21 -0700
commit052638a76f3c07be744b603c3ba0f392ccc1569b (patch)
tree943b6bca1759d715908a0d2e1eac711bc257ae9c /gcell/lib/runtime/gc_job_manager_impl.h
parent7389f7a46fbad90dc1ae2c8232f770b03c27a38f (diff)
downloadgnuradio-052638a76f3c07be744b603c3ba0f392ccc1569b.tar.gz
gnuradio-052638a76f3c07be744b603c3ba0f392ccc1569b.tar.bz2
gnuradio-052638a76f3c07be744b603c3ba0f392ccc1569b.zip
Convert gcell to use boost::threads instead of omnithread.
Passes make check.
Diffstat (limited to 'gcell/lib/runtime/gc_job_manager_impl.h')
-rw-r--r--gcell/lib/runtime/gc_job_manager_impl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcell/lib/runtime/gc_job_manager_impl.h b/gcell/lib/runtime/gc_job_manager_impl.h
index a56117870..640fdfe79 100644
--- a/gcell/lib/runtime/gc_job_manager_impl.h
+++ b/gcell/lib/runtime/gc_job_manager_impl.h
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2007,2008,2009 Free Software Foundation, Inc.
+ * Copyright 2007,2008,2009,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -107,16 +107,16 @@ class gc_job_manager_impl : public gc_job_manager
boost::shared_ptr<void> _d_comp_info_boost; // hack for automatic storage mgmt
// used to coordinate communication w/ the event handling thread
- omni_mutex d_eh_mutex;
- omni_condition d_eh_cond;
+ boost::mutex d_eh_mutex;
+ boost::condition_variable d_eh_cond;
pthread_t d_eh_thread; // the event handler thread
volatile evt_handler_state d_eh_state;
volatile bool d_shutdown_requested;
spe_event_handler d_spe_event_handler;
// used to coordinate communication w/ the job completer thread
- omni_mutex d_jc_mutex;
- omni_condition d_jc_cond;
+ boost::mutex d_jc_mutex;
+ boost::condition_variable d_jc_cond;
pthread_t d_jc_thread; // the job completion thread
volatile job_completer_state d_jc_state;
int d_jc_njobs_active; // # of jobs submitted but not yet reaped