https://github.com/mp81ss/ptimer
A very small and easy but flexible timer library written in C
https://github.com/mp81ss/ptimer
c library pthread pthreads timer timers
Last synced: 8 months ago
JSON representation
A very small and easy but flexible timer library written in C
- Host: GitHub
- URL: https://github.com/mp81ss/ptimer
- Owner: mp81ss
- License: bsd-3-clause
- Created: 2019-01-26T11:02:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-15T10:34:23.000Z (over 2 years ago)
- Last Synced: 2025-03-17T05:45:53.471Z (12 months ago)
- Topics: c, library, pthread, pthreads, timer, timers
- Language: C
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
- License: LICENSE
Awesome Lists containing this project
README
# ARCHIVED - Moved to gitlab
PTimer is a very small and easy but flexible timer library.
It is written in pure C and consists of one header and one .C source file only.
It supports both periodic and single-shot timers.
All timers have a custom parameter for their callbacks.
All timers can change their callback, callback argument and timeout,
even if they are active and running.
PTimer is built on top of PThreads library, that is the only needed thing.
You can look at example and doxygen-generated documentation.
Happy timers!