Class single_threaded

boost::signalslib::single_threaded — Single-threaded choice for the ThreadingModel template parameter of a signal.

Synopsis

class single_threaded {
};

Description

The single_threaded class will produce a multi-thread-unsafe signal class when used as the signal's ThreadingModel template parameter. The signal might still be used in a multi-threaded program, as long as the signal is only used by a single thread. The signal may have slightly better performance that a thread-safe signal, since it performs no locking.