diff options
author | jcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5> | 2007-05-05 18:26:33 +0000 |
---|---|---|
committer | jcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5> | 2007-05-05 18:26:33 +0000 |
commit | b37d879f6b46225fab22862f193f10d1908400e1 (patch) | |
tree | 2e5816d582b4e19806cce8652dc298d7ede823ce /gnuradio-core/src/lib/runtime/gr_runtime.cc | |
parent | 6b1e25d6c62d82369548ecad4b86a0795be23025 (diff) |
Merged r5241:5242 from jcorgan/reconf into trunk. Trunk passes distcheck.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5243 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib/runtime/gr_runtime.cc')
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_runtime.cc | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_runtime.cc b/gnuradio-core/src/lib/runtime/gr_runtime.cc index 3a992f6895..a77aac4325 100644 --- a/gnuradio-core/src/lib/runtime/gr_runtime.cc +++ b/gnuradio-core/src/lib/runtime/gr_runtime.cc @@ -36,7 +36,7 @@ gr_make_runtime(gr_hier_block2_sptr top_block) gr_runtime::gr_runtime(gr_hier_block2_sptr top_block) { - d_impl = new gr_runtime_impl(top_block); + d_impl = new gr_runtime_impl(top_block, this); } gr_runtime::~gr_runtime() @@ -74,3 +74,16 @@ gr_runtime::restart() { d_impl->restart(); } + +void +gr_runtime::lock() +{ + d_impl->lock(); +} + +void +gr_runtime::unlock() +{ + d_impl->unlock(); +} + |