fsautoproc
Basic file transformation automation management utility
Loading...
Searching...
No Matches
tm.h
Go to the documentation of this file.
1
3#ifndef FSAUTOPROC_TIME_H
4#define FSAUTOPROC_TIME_H
5
6#include <stdint.h>
7
10uint64_t tmnow(void);
11
15 DUR_QUEUE = 100,
16 DUR_WAIT = 250,
17 DUR_HALT = 500,
18};
19
26void tmsleep(uint32_t ms);
27
28#endif//FSAUTOPROC_TIME_H
void tmsleep(uint32_t ms)
Sleep for the specified number of milliseconds.
Definition tm.c:42
sleepdur_t
Predefined sleep durations in milliseconds for various polling cases.
Definition tm.h:14
@ DUR_WAIT
Poll rate when waiting for all thread pool work to finish.
Definition tm.h:16
@ DUR_HALT
Poll rate when waiting for thread pool shutdown.
Definition tm.h:17
@ DUR_QUEUE
Poll rate when queueing new work to the thread pool.
Definition tm.h:15
uint64_t tmnow(void)
Get the current system time in milliseconds.
Definition tm.c:15