diff options
author | Don Ward | 2011-06-11 14:46:18 -0700 |
---|---|---|
committer | Johnathan Corgan | 2011-06-11 14:46:18 -0700 |
commit | add65c9ceae949592a9719175575f88da217790a (patch) | |
tree | 4ccfa62c30fd5be4f9344b1f03dd71100dd10270 /gnuradio-core/src | |
parent | 3bf9846d5839ddbd74d010a29444acb503d3a743 (diff) | |
download | gnuradio-add65c9ceae949592a9719175575f88da217790a.tar.gz gnuradio-add65c9ceae949592a9719175575f88da217790a.tar.bz2 gnuradio-add65c9ceae949592a9719175575f88da217790a.zip |
Allow disabling shm vmcircbuf tests at configure time
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc b/gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc index abcf5b2a6..3b8a6e617 100644 --- a/gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc +++ b/gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc @@ -100,8 +100,10 @@ gr_vmcircbuf_sysconfig::all_factories () std::vector<gr_vmcircbuf_factory *> result; result.push_back (gr_vmcircbuf_createfilemapping_factory::singleton ()); +#ifdef TRY_SHM_VMCIRCBUF result.push_back (gr_vmcircbuf_sysv_shm_factory::singleton ()); result.push_back (gr_vmcircbuf_mmap_shm_open_factory::singleton ()); +#endif result.push_back (gr_vmcircbuf_mmap_tmpfile_factory::singleton ()); return result; |