Change header

This commit is contained in:
Bob Polis 2024-02-01 11:12:30 +01:00
parent c88aa8f04f
commit 53a3c0d105

View File

@ -3,8 +3,7 @@
#include <cstdint>
#include <mutex>
#include <signal.h>
#include <time.h>
#include <csignal>
namespace sc {
@ -20,7 +19,7 @@ namespace sc {
timer_t _tid;
public:
timer(double time,
timer(double time, // seconds
bool repeat,
void(*expired_func)(const timer&),
void* context = nullptr);
@ -30,7 +29,7 @@ namespace sc {
timer(const timer&) = delete;
timer& operator=(const timer&) = delete;
// forbid moveing
// forbid moving
timer(timer&&) = delete;
timer& operator=(timer&&) = delete;