Menu

TOTimer / Blog: Recent posts

v0.1.2 : reentrant TOTimer calls in callback functions

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).

Posted by Uwe Schröder 2022-11-22

simply more stable

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).

Posted by Uwe Schröder 2018-08-12

Enter this tiny timeout facilitie the first time; not fully tested.

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.

Posted by Uwe Schröder 2017-05-27
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.