Change from usleep and gettimeofday to clock_nanosleep and clock_gettime
authorSam Moore <[email protected]>
Sat, 19 Oct 2013 06:56:39 +0000 (14:56 +0800)
committerSam Moore <[email protected]>
Sat, 19 Oct 2013 06:56:39 +0000 (14:56 +0800)
commit5a9a05166c4b22e7b7a522063d3dd6f75d1fa589
tree5916aa2cd15e98c7d4abc3d94ee5997a4f0ce8f7
parentf486831f971d51f983a65b734ebd5af2b598d136
Change from usleep and gettimeofday to clock_nanosleep and clock_gettime

Requires -std=gnu99 instead of -std=c99
14 files changed:
server/Makefile
server/actuator.c
server/common.h
server/control.c
server/control.h
server/fastcgi.c
server/image.h
server/main.c
server/options.h
server/sensor.c
server/sensor.h
server/sensors/pressure.c
server/sensors/resource.c
server/sensors/strain.c

UCC git Repository :: git.ucc.asn.au