Use CLOCK_MONOTONIC for timer measurement and add a timestamp to control

mode %output blocks.
This commit is contained in:
nicm
2020-06-02 08:17:27 +00:00
parent 563b7331da
commit f3931497f8
6 changed files with 41 additions and 19 deletions

1
tmux.h
View File

@ -1852,6 +1852,7 @@ extern int ptm_fd;
extern const char *shell_command;
int checkshell(const char *);
void setblocking(int, int);
uint64_t get_timer(void);
const char *sig2name(int);
const char *find_cwd(void);
const char *find_home(void);