summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_exit.c
diff options
context:
space:
mode:
authorarybchik <arybchik@FreeBSD.org>2016-08-23 13:51:55 +0000
committerarybchik <arybchik@FreeBSD.org>2016-08-23 13:51:55 +0000
commit8b080b5d18b14e2d595f39d28450f52328cdb834 (patch)
treead937769133ff43615fd92d3b0a8c7c5029403a3 /lib/libthr/thread/thr_exit.c
parent69c00374f5e54f7261605bde1bcecd7946a30d7d (diff)
downloadFreeBSD-src-8b080b5d18b14e2d595f39d28450f52328cdb834.zip
FreeBSD-src-8b080b5d18b14e2d595f39d28450f52328cdb834.tar.gz
MFC r301724
sfxge(4): handle negative ticks difference correctly ticks are signed int and if statistics is not updated for a long time (more than INT_MAX ticks, but less than UINT_MAX) difference becomes negative and less than hz for a long time. Other option to repeat is simply load driver (which initializes timestamps to 0) when ticks are negative. Sponsored by: Solarflare Communications, Inc.
Diffstat (limited to 'lib/libthr/thread/thr_exit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud