diff options
author | Jiří Pinkava <j-pi@seznam.cz> | 2015-04-09 08:55:04 +0200 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-06-25 09:47:40 -0700 |
commit | a99f8ac8cc9a15ab608081c10a7733fce125e276 (patch) | |
tree | 86c4d7b5fb53039a95d0e2f146b20d5b52cf2c6a /gr-zeromq/lib/base_impl.cc | |
parent | 0e18622160a33c10d5853fc3e3d0ee4ebaa41829 (diff) |
runtime: fix state handling in top_block
d_state is intended to track running state of top block.
* initial state is IDLE
* set state to RUNNING when start() is called
* set state to IDLE when stop() is called
* set state to IDLE when all work is done (reqires call of wait())
* unlock() resume/start execution only if state is RUNNING
Diffstat (limited to 'gr-zeromq/lib/base_impl.cc')
0 files changed, 0 insertions, 0 deletions