include librt alternative in OSX using
GoogleCodeExporter opened this issue · 0 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Compile in OS X
What is the expected output? What do you see instead?
OSX does not have linux librt libraries, needs to instead use
mach_absolute_time()
Please provide any additional information below.
Boilerplate solution to clock_gettime is attached. Still needs _settime,
_nanosleep and _getres.
http://pastebin.com/kkDrM0zt
Original issue reported on code.google.com by dashd...@gmail.com
on 7 Sep 2012 at 3:33
Attachments: