>> As an aside, why does sleep link with so many things? [...] > For clock_gettime, which is only in librt. Much higher resolution > timer. which is a must when doing near second precision :-)