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

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to