Now it should be possible to call TOTimer functions (with little restrictions) in a TOTimer timer callback function.
And you now could access implicite user-free-for-usage TOTimer variables (long & pointer).
Additionally you could reserve for any TOTimer another memory to save anything you need (fix memory length for ALL).
The TOTimer timer functionality seems to be imho a nearly generic timer function, but needs an independent time-source part (called toticker).
Precise timeout in user-land are not easy to handle and almost impossible if you need very small timeouts (e.g. 0,5ms); obviously you need a Real-Time OS for this if high precision is required. A timeout with a tick-time (accuracy) of 100ms should work on every platform.
Let me know your opinion if you are interested in this feature.
TODO: starting new timeout with additional offset (free-tick-counter - compare-tick-counter).
I would appreciate that you try out this version of a timeout timer, if you are using a single threaded task and have the need to detect timeouts.
pls. let me know your impressions of this facilitie. (Could be used as a lib but source-code directly is given to include this in own projects).
All info will be interesting for me. Eg if you mean it is not useful because this and that reasons...
Thanks for trying and hopefully using.