This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-certstore/common/rt/include/rt_tmr.h

26 lines
685 B
C
Raw Normal View History

/*************************************************************************
> File Name: rt_tmr.h
> Author:
> Mail:
> Created Time: 20180919 155804
************************************************************************/
#ifndef _RT_TMR_H
#define _RT_TMR_H
#define RT_TMR_ADVANCED
extern void tmr_start(uint32_t uid);
extern void tmr_stop(uint32_t uid);
/**
* routine: must be a reentrant function.
* An unknown error ocurrs if a thread-safe function called as a routione.
*/
extern uint32_t tmr_create(int module,
const char *desc,
void (*routine)(uint32_t, int, char **), int argc, char **argv, int sec);
#endif