[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Are there any Gnuradio Events?
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Are there any Gnuradio Events? |
Date: |
Fri, 3 Jun 2011 09:57:53 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Sure, there's the upcoming GNU Radio conference :)
SCNR...
On Wed, Jun 01, 2011 at 01:28:51PM -0500, Brett L. Trotter wrote:
> Lets say you have a GUI app that has a fixed runtime determined by a
> head block set to (sample_rate * n_seconds). Currently, the gui keeps
> running. Is there an OnShutdown or some function I can override to catch
> the flowgraph completion? Worst case, can I set up a loop thread to
> check tb.is_running or something to that effect?
tb.wait() is a blocking function, so you could use that to create a
trigger for your own event.
MB
--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
Research Associate
Kaiserstraße 12
Building 05.01
76131 Karlsruhe
Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu
KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
pgpdlS5oIgyKx.pgp
Description: PGP signature