[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r8765 - gnuradio/branches/developers/eb/sched-wip/gnur
From: |
eb |
Subject: |
[Commit-gnuradio] r8765 - gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime |
Date: |
Tue, 1 Jul 2008 01:21:07 -0600 (MDT) |
Author: eb
Date: 2008-07-01 01:21:07 -0600 (Tue, 01 Jul 2008)
New Revision: 8765
Modified:
gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime/gr_scheduler_sts.cc
Log:
format tweak
Modified:
gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime/gr_scheduler_sts.cc
===================================================================
---
gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime/gr_scheduler_sts.cc
2008-07-01 07:04:14 UTC (rev 8764)
+++
gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime/gr_scheduler_sts.cc
2008-07-01 07:21:07 UTC (rev 8765)
@@ -33,16 +33,11 @@
public:
sts_container(gr_block_vector_t blocks)
- : d_blocks(blocks)
- {
- }
+ : d_blocks(blocks) {}
void operator()()
{
- gr_single_threaded_scheduler_sptr sts =
- gr_make_single_threaded_scheduler(d_blocks);
-
- sts->run();
+ gr_make_single_threaded_scheduler(d_blocks)->run();
}
};
@@ -68,8 +63,9 @@
p != graphs.end(); p++) {
gr_block_vector_t blocks = gr_flat_flowgraph::make_block_vector(*p);
-
d_threads.create_thread(gruel::thread_body_wrapper<sts_container>(sts_container(blocks),
-
"single-threaded-scheduler"));
+ d_threads.create_thread(
+ gruel::thread_body_wrapper<sts_container>(sts_container(blocks),
+ "single-threaded-scheduler"));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r8765 - gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime,
eb <=