[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 06/18: runtime: use bool for system port me
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 06/18: runtime: use bool for system port message |
Date: |
Fri, 1 Jul 2016 16:25:44 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch next
in repository gnuradio.
commit f23a042170c884a43401190d05ade508267ba3a2
Author: Bastian Bloessl <address@hidden>
Date: Thu Apr 21 09:21:27 2016 +0200
runtime: use bool for system port message
---
gnuradio-runtime/lib/block.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc
index 10c2cbc..e329e06 100644
--- a/gnuradio-runtime/lib/block.cc
+++ b/gnuradio-runtime/lib/block.cc
@@ -707,7 +707,7 @@ namespace gr {
//std::cout << "system_handler " << msg << "\n";
pmt::pmt_t op = pmt::car(msg);
if(pmt::eqv(op, pmt::mp("done"))){
- d_finished = pmt::to_long(pmt::cdr(msg));
+ d_finished = pmt::to_bool(pmt::cdr(msg));
} else {
std::cout << "WARNING: bad message op on system port!\n";
pmt::print(msg);
@@ -736,7 +736,7 @@ namespace gr {
currlist = pmt::cdr(currlist);
basic_block_sptr blk = global_block_registry.block_lookup(block);
- blk->post(port, pmt::cons(pmt::mp("done"), pmt::mp(true)));
+ blk->post(port, pmt::cons(pmt::mp("done"), pmt::PMT_T));
//std::cout << "notify finished --> ";
//pmt::print(pmt::cons(block,port));
- [Commit-gnuradio] [gnuradio] branch next updated (5ff65f3 -> cbdaaa0), git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 07/18: blocks: use possibility to shutdown flow graph in unit tests, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 08/18: runtime: block if message block doesn't produce, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 02/18: runtime: allow blocks w/ only msg inputs to exit, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 04/18: runtime: allow msg port block finish cleanly, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 06/18: runtime: use bool for system port message,
git <=
- [Commit-gnuradio] [gnuradio] 03/18: runtime: set_done shouldn't be set in msg handlers, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 17/18: Merge branch 'master' into next, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 05/18: runtime: whitespace, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 01/18: runtime: remove unnecessary wakeup of neighbors, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 13/18: runtime: scheduler: check changed at beginning, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 16/18: runtime: poll blocks, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 12/18: runtime: tpb, don't check msg queue, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 11/18: runtime: scheduler: no busy-waiting, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 14/18: runtime: scheduler: check for messages at start of iteration, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 09/18: blocks: don't block waiting for messages, git, 2016/07/01