a linux cpp timout class package
| timeout_test | ||
| README.md | ||
linux cpp timeout package class
it is use to check timeout in a task in linux c plus plus
how to use
include "ctimeout.h"- define object
CTimeOut timeout - set the timeout whit time
timeout.set_timeout_msec(1000) - then you can check if the time in your task is timeout you can use
timeout.is_timeout()to get a bool return to confirm it