C++ & signals

Signals is a special feature of program that can interrupt it's processing to perform some externally initiated tasks. Standard C-based signals (csignal) are used for example to terminate program. Other signals (like in Qt) can be used to handle GUI events.


List of available solutions:

1) csignal

Reference resources:


2) Boost.Signals2 - signals in Boost library

Tutorial: Boost.Signals2 - Boris Schäling

3) Qt Signals & Slots

4) libsigc++ - typesafe callback system for C++

5) Boost ASIO

How to handle Ctrl-C

In Windows

In POSIX (signal)