Serve timeouts by calling a service-function periodically and an independent time-source (toticker).

If you need a timer and like to try this one, please write your experiences to me in brief! And may be suggestions, of course.

10ms tick time should be possible. May be less.
DO NOT USE Version less 0.1.1 - it is definatly buggy!

Easy to control timers via Handle, eg auto create&start a timer via totimer_setTimeout function.

Optionally use Callback-Functions if timeout expires.

See uws-readme.txt for further info.

Features

  • Additional RAM for each timer possible
  • -- ALPHA state — anyway, should work properly yet -- pls. let me know bugs and suggestions --
  • Independent time-source! Has to be integrated, some examples are included
  • No locks needed - for one-thread systems; may be enhanceable for multithreading
  • Needs not much performance in timeout-service; in timeout-administration it could be enhanced (up to 100 timers seems to be quite ok for all)
  • Configurable: tick-time, max. number of timers, toticker
  • Enhanceable: 4me it seems to be a basis to create an better system like with triggered call of the service-function (event-driven)

Project Activity

See All Activity >

Categories

Algorithms

Follow TOTimer

TOTimer Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TOTimer!

Additional Project Details

Operating Systems

Linux

Intended Audience

Information Technology, Developers, Other Audience

Programming Language

C

Related Categories

C Algorithms

Registered

2017-05-26