summaryrefslogtreecommitdiff
path: root/i/marvin/src/utils/test_signalHandler.cc
blob: e25b1d2fc9a4b235d0d7034436b65fd912274dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>
#include "signalhandler.hh"

void res()
{
	std::cout << "RESET" << std::endl;
}

int main() 
{
	SignalHandler<SIGINT> test;
	test.bind(res);
	while(1);
	return 0;
}