Tx_waveforms.cpp problem

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

thanks ,

osama

On 01/01/2012 06:16 AM, osama mohamed wrote:

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

http://en.wikipedia.org/wiki/SIGINT_(POSIX)

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

-josh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs