Admin message

2026-04-01: Due to updates GitLab may be unavailable for some minutes between 13:00 and 16:00.

waitFor() does not allow intervals greater than 1 second on some platforms

Summary

waitFor() uses usleep(), which may be limited to a maximum of 1 second on some platforms.

Possible fixes

Create new methods waitFor(timespec) and waitFor(uint seconds, uint nanoseconds),

which use nanosleep instead.

Note that nanosleep has other advantages e.g. on linux but not on QNX compared to usleep.

Assignee Loading
Time tracking Loading

LRZ Homepage | Datenschutz | Dokumentation und Betriebsbedingungen | Impressum