discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] tx_waveforms.cpp problem


From: Josh Blum
Subject: Re: [Discuss-gnuradio] tx_waveforms.cpp problem
Date: Sun, 01 Jan 2012 12:10:15 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0


On 01/01/2012 06:16 AM, osama mohamed wrote:
> 
> hi all ,
> 
> i am trying to run the tx_waveforms.cpp example but i have the following 
> problem:
> 
> The signal SIGINT is never received and so the signal handler 
> "signal_int_handler" is never called and the "stop_signal_called" flag 
> remains false 
> 
> as i understand i have to #define the SIGINT to the signal i expect to 
> receive or what i have to do??
> 
> any suggestion would be appreciated 
> 

http://en.wikipedia.org/wiki/Unix_signal

http://en.wikipedia.org/wiki/SIGINT_%28POSIX%29

    std::signal(SIGINT, &sig_int_handler);
    std::cout << "Press Ctrl + C to stop streaming..." << std::endl;

-josh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]