I need a timer to execute callbacks with relatively low resolution. What\'s the best way to implement such C++ timer class in Linux? Are there any libraries I could use?
Use the boost::asio library. It has both synchronous and asynchronous timers which call a callback.
http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/tutorial.html