Monthly Archives: January 2012

TBP thread per block code notes – GNURadio

  In gr_scheduler_tpb.cc, the constructor of gr_scheduler_tpb::gr_scheduler_tpb() contains the code to create the boost thread: for (size_t i = 0; i < blocks.size(); i++){ std::stringstream name; name << “thread-per-block[” << i << “]: ” << blocks[i]; d_threads.create_thread( gruel::thread_body_wrapper<tpb_container>(tpb_container(blocks[i], max_noutput_items), name.str())); … Continue reading

Posted in Software Defined Radio, Tech | Leave a comment