PosixSignalManagerImpl.cpp
//==============================================================================
// Fills in a user-provided set with the list of signals we know about
//==============================================================================
Fills in a user-provided set with the list of signals we know about
Fills in a user - provided set with the list of signals we know about
void PosixSignalManagerImpl::getSupportedSignals(
    std::unordered_set<int>& supported_signals)
{
    supported_signals.clear();
    for (std::unordered_map<int, SignalInfo>::const_iterator i =
             signals.begin();
         i != signals.end();
         ++i)
    {
        supported_signals.insert(i->first);
    }
}
void PosixSignalManagerImpl :: getSupportedSignals ( std :: unordered_set < int > & supported_signals ) { supported_signals . clear ( ) ; for ( std :: unordered_map < int , SignalInfo > :: const_iterator i = signals . begin ( ) ; i != signals . end ( ) ; ++ i ) { supported_signals . insert ( i -> first ) ; } }
Fills in a user-provided set with the list of signals we know about
Fills in a user - provided set with the list of signals we know about
// Get rid of whatever is in there first