aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygheap.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-07 05:18:01 +0000
committerChristopher Faylor <me@cgf.cx>2003-09-07 05:18:01 +0000
commited2287adcd6b16a0ef34defb443d5c61fc7830d7 (patch)
tree4b567ae87a505f3fb4bc5ba3329db06a1936df78 /winsup/cygwin/cygheap.cc
parent6cce721b15c6ac75e7d6ae86a4354aa02bcf14d8 (diff)
downloadnewlib-ed2287adcd6b16a0ef34defb443d5c61fc7830d7.zip
newlib-ed2287adcd6b16a0ef34defb443d5c61fc7830d7.tar.gz
newlib-ed2287adcd6b16a0ef34defb443d5c61fc7830d7.tar.bz2
* signal.cc (nanosleep): Improve test for valid values. Round delay up to
resolution. Fix test for negative remainder. Use timeGetTime through gtod. (sleep): Round up return value. Christopher Faylor <cgf@redhat.com> * hires.h (HIRES_DELAY_MAX): Define. (hires_ms::minperiod): Declare static. (hires_ms::resolution): New. (hires_ms::dmsecs): New. (hires_ms::prime): Return UINT. (gtod): Declare. * times.cc (hires_ms::prime): Always calculate minperiod and set it to 1 in case of failure. Return minperiod. (hires_ms::resolution): Define. (hires_ms::~hires_ms): Delete. (hires_ms::usecs): Check minperiod to prime. (gtod) Define as global.
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
0 files changed, 0 insertions, 0 deletions