c++ - Linux function calls at certain intervals -
i need able call functions @ different intervals on linux using c/c++. best method this? instance want call a() @ 100hz , b() @ 10hz , c() @ 1hz.
you can use settimer repeatedly schedule next function call has closest deadline.
Comments
Post a Comment